<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-9278084</atom:id><lastBuildDate>Fri, 18 Jul 2008 13:03:12 +0000</lastBuildDate><title>Thoughts of Hiram Chirino</title><description/><link>http://hiramchirino.com/blog/</link><managingEditor>noreply@blogger.com (Hiram Chirino)</managingEditor><generator>Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-1499566714642524205</guid><pubDate>Thu, 17 Jul 2008 19:04:00 +0000</pubDate><atom:updated>2008-07-17T15:08:35.692-04:00</atom:updated><title>Keep an eye out for ZooKeeper</title><description>Wow, I love the simplicity that ZooKeeper brings to a really hard set of distributed problems.  Check out this &lt;a href="http://developer.yahoo.com/blogs/hadoop/2008/03/intro-to-zookeeper-video.html"&gt;Introductory Video&lt;/a&gt; that explains it more in depth.  Basically group leadership/coordination and cluster wide configuration issues are taken care of if you Use ZooKeeper. &lt;br /&gt;&lt;br /&gt;Oh and it's an Apache Project now.  Yay!  Seems like the project website is still not fully setup since they are migrating from SourceForge to Apache, be here's a link to the &lt;a href="https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk"&gt;source tree&lt;/a&gt;.</description><link>http://hiramchirino.com/blog/2008/07/keep-eye-out-for-zookeeper.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-1651787128055095151</guid><pubDate>Thu, 17 Jul 2008 18:57:00 +0000</pubDate><atom:updated>2008-07-17T15:03:26.668-04:00</atom:updated><title>TODO: Double Write Buffers</title><description>Note to self: investigate implementing the &lt;a href="http://www.mysqlperformanceblog.com/2006/08/04/innodb-double-write/"&gt;Double Write Buffers&lt;/a&gt; idea in ActiveMQ.  ActiveMQ keeps several indexes into the persistent messages that it's holding and when ActiveMQ is shutdown ungracefully, we rebuild the indexes from the data logs due to them being in inconsistent state.  If your queueing up millions of messages, building those indexes can take a long time.&lt;br /&gt;&lt;br /&gt;Double buffering may allow us fix inconistencies in those index and gets us running faster..</description><link>http://hiramchirino.com/blog/2008/07/todo-double-write-buffers.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-3410991145701814781</guid><pubDate>Mon, 02 Jun 2008 19:30:00 +0000</pubDate><atom:updated>2008-06-02T15:39:08.949-04:00</atom:updated><title>ActiveMQ/SpecJMS/Camel Webinar</title><description>Whoa, time flies  by, and I forgot to post about the &lt;a href="https://cc.readytalk.com/cc/schedule/display.do?rfe=ub5sdagy3uis&amp;amp;udc=ueryf6x63zus"&gt;upcoming webinar&lt;/a&gt; that I will be co-hosting with &lt;a href="http://rajdavies.blogspot.com/"&gt;Rob Davies&lt;/a&gt; on June 10th.  We will be covering some messaging basics, introducing Apache ActiveMQ and Apache Camel to the audience, but most interesting I think will be the section where Rob will be covering the results that IONA has been seeing benchmarking ActiveMQ against the SpecJMS2007 test suite.  I totally agree with &lt;a href="http://rajdavies.blogspot.com/2008/05/specjms2007-using-activemq.html"&gt;Rob's comment &lt;/a&gt;that "An independent benchmark is important, because it negates the chance to skew  home groan tests to a vendor's strengths."</description><link>http://hiramchirino.com/blog/2008/06/activemqspecjmscamel-webinar.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-1429524849394446288</guid><pubDate>Thu, 29 May 2008 19:51:00 +0000</pubDate><atom:updated>2008-05-29T15:54:49.660-04:00</atom:updated><title>InfoQ Covers ActiveMQ 5.1 Release</title><description>&lt;a href="http://www.infoq.com/news/2008/05/activemq-5.1-release;jsessionid=BFD02D79FC579EDFABD675E93D11BC13"&gt;InfoQ&lt;/a&gt; has posted nice article on the new features in the ActiveMQ 5.1 release versus the last 4.1 release:&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;&lt;a href="http://activemq.apache.org/"&gt;Apache ActiveMQ&lt;/a&gt;, an open source provider of enterprise messaging services, recently released &lt;a href="http://activemq.apache.org/activemq-510-release.html"&gt;version 5.1&lt;/a&gt; which includes improvements in stability and performance of the message broker product. This version also includes support for priority message ordering and a Microsoft Message Queue (&lt;a href="http://www.microsoft.com/windowsserver2003/technologies/msmq/default.mspx"&gt;MSMQ&lt;/a&gt;) to ActiveMQ Bridge with the new &lt;a href="http://cwiki.apache.org/confluence/display/CAMEL/msmq"&gt;msmq&lt;/a&gt; transport component. &lt;/p&gt; &lt;p&gt;There are also improvements in the &lt;a href="http://activemq.apache.org/how-can-i-monitor-activemq.html"&gt;monitoring&lt;/a&gt; module of ActiveMQ container. A new DestinationSource class was added to access the available &lt;a href="http://java.sun.com/javaee/5/docs/api/javax/jms/Queue.html"&gt;Queues&lt;/a&gt; or &lt;a href="http://java.sun.com/javaee/5/docs/api/javax/jms/Topic.html"&gt;Topics&lt;/a&gt; or listen to Queues/Topics being created or deleted in the container. There is a new &lt;a href="http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/broker/region/DestinationStatistics.html"&gt;API&lt;/a&gt; to help end users view available destinations and query them to find JMS statistics such as active queue count, queue depth, number of messages etc.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infoq.com/news/2008/05/activemq-5.1-release;jsessionid=BFD02D79FC579EDFABD675E93D11BC13"&gt;Read More...&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;</description><link>http://hiramchirino.com/blog/2008/05/infoq-covers-activemq-51-release.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-4155082812578855155</guid><pubDate>Wed, 07 May 2008 16:56:00 +0000</pubDate><atom:updated>2008-05-07T13:04:28.252-04:00</atom:updated><title>ActiveMQ 5.1.0 Release</title><description>For all of you who ran into issues with &lt;a href="http://activemq.apache.org/"&gt;ActiveMQ&lt;/a&gt; 5.0.0 when running it in anger, I highly recommend you give the just &lt;a href="http://activemq.apache.org/activemq-510-release.html"&gt;released ActiveMQ 5.1.0&lt;/a&gt; a try.  This release focused focused on making the broker rock solid.  It resolved several bugs which only reared their heads in high load situations.  Memory leaks have been squashed and performance has even improved in several areas. &lt;br /&gt;&lt;br /&gt;Even if you have not had seen any issues with your 5.0.0 installation, I'd highly recommend you upgrade to 5.1.0 to avoid running into &lt;a href="http://issues.apache.org/activemq/secure/ReleaseNote.jspa?version=11802&amp;amp;styleName=Html&amp;amp;projectId=10520&amp;amp;Create=Create"&gt;some of the bugs&lt;/a&gt; that have been addressed in the release.</description><link>http://hiramchirino.com/blog/2008/05/activemq-510-release.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-929312546086510789</guid><pubDate>Thu, 10 Apr 2008 17:59:00 +0000</pubDate><atom:updated>2008-04-10T14:02:36.705-04:00</atom:updated><title>Mulitcast not working on a Linux box?</title><description>Just ran into a problem where some mutlicast tests were failing on a linux box and I could not figure out why.  Did a little bit of research and found out that you may need to add a route for it first.  So if you have this problem try running:&lt;br /&gt;&lt;blockquote&gt;route add 224.0.0.0 netmask 240.0.0.0 dev eth0&lt;/blockquote&gt;&lt;br /&gt;or if you have an older version of linux like me:&lt;br /&gt;&lt;blockquote&gt;route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0&lt;/blockquote&gt;</description><link>http://hiramchirino.com/blog/2008/04/mulitcast-not-working-on-linux-box.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-2478328352425486093</guid><pubDate>Wed, 02 Jan 2008 14:59:00 +0000</pubDate><atom:updated>2008-01-02T11:29:18.297-05:00</atom:updated><title>More ActiveMQ Fanfare</title><description>Nice to see the new year starting off right.  I Noticed this post over at the eaimatrix.com:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;A plethora of message queuing products exist in today's EAI market, all aimed at providing solutions to the problem of application integration. Few can however  lay as much claim to fame as &lt;a href="http://activemq.apache.org/" target="_blank"&gt;ActiveMQ&lt;/a&gt;, an open source Message Broker and &lt;a href="http://java.sun.com/products/jms/index.jsp" target="_blank"&gt;JMS&lt;/a&gt;/&lt;a href="http://activemq.apache.org/enterprise-integration-patterns.html"&gt;Enterprise Integration Patterns&lt;/a&gt; provider which is  licensed, developed and distributed under the open source Apache emblem.  &lt;a href="http://activemq.apache.org/" target="_blank"&gt;ActiveMQ&lt;/a&gt; provides  support for &lt;a href="http://activemq.apache.org/cross-language-clients.html"&gt;Cross Language Client and Protocols&lt;/a&gt; as well as a powerful messaging broker which is supported in Java, C, C++, C#, Ruby, Perl, Python, PHP.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eaimatrix.com/blogs/eai/archive/2008/01/01/enterprise-messaging-with-activemq.aspx"&gt;Read the full article&lt;/a&gt; by Ade Ayonrinde.</description><link>http://hiramchirino.com/blog/2008/01/nice-to-see-new-year-starting-off-right.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-3506032341619676082</guid><pubDate>Tue, 13 Nov 2007 15:29:00 +0000</pubDate><atom:updated>2007-11-13T10:32:31.156-05:00</atom:updated><title>ActiveMQ Webinar</title><description>Late notice.. but &lt;a href="http://macstrac.blogspot.com"&gt;James&lt;/a&gt; and I are doing an &lt;a href="http://open.iona.com/resources/news/#webinar"&gt;ActiveMQ Webinar&lt;/a&gt; in an hour and half.  Sign up for it and let us know what you thought about it.</description><link>http://hiramchirino.com/blog/2007/11/activemq-webinar.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-2139852033733476289</guid><pubDate>Tue, 02 Oct 2007 16:22:00 +0000</pubDate><atom:updated>2007-10-03T14:51:57.988-04:00</atom:updated><title>Docbook is dead.. Long live HTML</title><description>Yay.. The &lt;a href="http://activemq.apache.org/camel"&gt;Apache Camel&lt;/a&gt; project has started to generate some beautiful looking &lt;a href="http://people.apache.org/%7Echirino/camel-manual-1.1-SNAPSHOT.pdf"&gt;PDF documentation&lt;/a&gt; from standard HTML by using &lt;a href="http://www.princexml.com/"&gt;prince&lt;/a&gt; and the &lt;a href="http://www.alistapart.com/articles/boom"&gt;Boom&lt;/a&gt; style sheet against our &lt;a href="http://cwiki.apache.org/confluence/display/CAMEL/Index"&gt;wiki&lt;/a&gt;.   We contacted the Boom folks and they cleared up the license terms of the Boom file so that it's officially open source.  The Boom folks have &lt;a href="http://people.opera.com/howcome/2005/ala/boom-mit.css"&gt;relicensed&lt;/a&gt; under the very liberal MIT license.&lt;br /&gt;&lt;br /&gt;Update:&lt;br /&gt;&lt;a href="http://www.theserverside.com/news/thread.tss?thread_id=47118"&gt;An interesting thread&lt;/a&gt; docbook and HTML is going on at The Server Side.</description><link>http://hiramchirino.com/blog/2007/10/docbook-is-dead-long-live-html.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-9060438072965588614</guid><pubDate>Wed, 26 Sep 2007 15:36:00 +0000</pubDate><atom:updated>2007-09-26T11:51:22.887-04:00</atom:updated><title>Dip Your Toes in Some Camel Today</title><description>The &lt;a href="http://macstrac.blogspot.com/"&gt;James Strachan&lt;/a&gt; has put together an awesome intro to &lt;a href="http://activemq.apache.org/camel"&gt;Apache Camel&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="256" width="320"&gt;&lt;param name="src" value="http://repo.open.iona.com/podcasts/camel/intro/camel-intro-medium.mov"&gt;&lt;param name="autoplay" value="false"&gt;&lt;param name="type" value="video/quicktime" height="256" width="320"&gt;&lt;embed src="http://repo.open.iona.com/podcasts/camel/intro/camel-intro-medium.mov" height="256" width="320" autoplay="false" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;A &lt;a href="http://repo.open.iona.com/podcasts/camel/intro/camel-intro-high.mov"&gt;high quality version&lt;/a&gt; of the screencast also available.</description><link>http://hiramchirino.com/blog/2007/09/dip-your-toes-in-some-camel-today.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-816821666303344942</guid><pubDate>Tue, 25 Sep 2007 16:49:00 +0000</pubDate><atom:updated>2007-09-25T12:58:14.285-04:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>FUSE</category><title>New FUSE Releases</title><description>It looks like &lt;a href="http://blog.pepperdust.org/2007/9/25/bob-dylan-has-a-message-for-you"&gt;the word is spreading&lt;/a&gt; that the &lt;a href="http://open.iona.com/products/"&gt;FUSE&lt;/a&gt; has a new  release out. The release includes enhancements across the &lt;a href="http://open.iona.com/products/"&gt;&lt;span class="caps"&gt;FUSE&lt;/span&gt; family of products&lt;/a&gt; including, &lt;a href="http://open.iona.com/products/fuse-esb"&gt;&lt;span class="caps"&gt;FUSE ESB&lt;/span&gt;&lt;/a&gt;, &lt;a href="http://open.iona.com/products/fuse-message-broker/"&gt;FUSE Message Broker&lt;/a&gt;, &lt;a href="http://open.iona.com/products/fuse-services-framework/"&gt;&lt;span class="caps"&gt;FUSE&lt;/span&gt; Services Framework&lt;/a&gt; and &lt;a href="http://open.iona.com/products/fuse-mediation-router/"&gt;&lt;span class="caps"&gt;FUSE&lt;/span&gt; Mediation Router&lt;/a&gt;. The releases include significant performance and feature improvements and tighter integration between the &lt;a href="http://open.iona.com/products/fuse-esb/"&gt;&lt;span class="caps"&gt;FUSE ESB&lt;/span&gt;&lt;/a&gt; and all components of the product family.&lt;br /&gt;&lt;br /&gt;For those of you who don't know, the FUSE family of products are &lt;a href="http://open.iona.com"&gt;IONA&lt;/a&gt; supported versions of several &lt;a href="http://www.apache.org"&gt;Apache&lt;/a&gt; projects like &lt;a href="http://activemq.apache.org"&gt;ActiveMQ&lt;/a&gt; and &lt;a href="http://servicemix.org"&gt;ServiceMix&lt;/a&gt;.</description><link>http://hiramchirino.com/blog/2007/09/new-fuse-releases.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-1099796929685061887</guid><pubDate>Thu, 20 Sep 2007 16:17:00 +0000</pubDate><atom:updated>2007-09-20T12:25:47.442-04:00</atom:updated><title>ServiceMix has Graduated</title><description>&lt;span class="on" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;Congratulations to the &lt;a href="http://servicemix.org"&gt;ServiceMix&lt;/a&gt; project for &lt;a href="http://gnodet.blogspot.com/2007/09/servicemix-has-graduated.html"&gt;graduating&lt;/a&gt; from the Incubator!  Having participated in several projects that have graduated from the &lt;a href="http://apache.org"&gt;Apache&lt;/a&gt; incubator, I can attest that this is an awesome milestone to have completed.&lt;br /&gt;&lt;br /&gt;For those of you who don't know what &lt;a href="http://servicemix.org"&gt;ServiceMix&lt;/a&gt; is, it's by far the BEST open source ESB available today.  The components in this ESB use the &lt;a href="http://jcp.org/aboutJava/communityprocess/final/jsr208/index.html"&gt;JBI 1.0 spec&lt;/a&gt; to integrate so end users and component developers can avoid the vendor lock in that is so common in todays commercial ESB space.&lt;br /&gt;&lt;/span&gt;</description><link>http://hiramchirino.com/blog/2007/09/servicemix-has-graduated.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-3969814917368656756</guid><pubDate>Fri, 02 Mar 2007 15:56:00 +0000</pubDate><atom:updated>2007-03-02T11:01:14.662-05:00</atom:updated><title>Learn how to Use ActiveMessaging to leverage ActiveMQ from Rails</title><description>You have to checkout this great &lt;a href="http://www.infoq.com/articles/intro-active-messaging-rails"&gt;InfoQ Article&lt;/a&gt; on ActiveMessaging.  It's an outstanding writeup on how to use &lt;a href="http://activemq.apache.org"&gt;ActiveMQ&lt;/a&gt; from &lt;a href="http://www.rubyonrails.org/"&gt;Rails&lt;/a&gt;.  I think this is just another sign that &lt;a href="http://hiramchirino.com/2007/02/stompconnect-finally-you-can-talk.html"&gt;STOMP&lt;/a&gt; is gain momentum.</description><link>http://hiramchirino.com/blog/2007/03/learn-how-to-use-activemessaging-to.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-76134902903119304</guid><pubDate>Sun, 25 Feb 2007 02:40:00 +0000</pubDate><atom:updated>2007-02-24T22:00:47.095-05:00</atom:updated><title>StompConnect - Finally, you can talk nativley to any JMS server from any language.</title><description>OMG, &lt;a href="http://radio.weblogs.com/0112098/"&gt;James&lt;/a&gt; is at it again!  He whipped up the new &lt;a href="http://stomp.codehaus.org/StompConnect"&gt;StompConnect&lt;/a&gt; project at a blink of an eye.  Firstly, let me introduce you to &lt;a href="http://stomp.codehaus.org/"&gt;Stomp&lt;/a&gt;.  Stomp was designed to be a super simple wire protocol for clients to talk to Message Oriented Middleware (MOM), like &lt;a href="http://activemq.apache.org"&gt;ActiveMQ&lt;/a&gt;.  Since the protocol is text based and simple to implement, multiple &lt;a href="http://stomp.codehaus.org/Clients"&gt;language clients&lt;/a&gt; and servers were created with little effort.&lt;br /&gt;&lt;br /&gt;And now thanks StompConnect, every JMS compliant MOM in existence (which is like almost all of them) can now be talked to using Stomp!  This is a huge deal since the wire protocol for most JMS servers is proprietary and  and getting a pure language client for any given mom was either difficult or impossible!</description><link>http://hiramchirino.com/blog/2007/02/stompconnect-finally-you-can-talk.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-6623897438445898917</guid><pubDate>Tue, 20 Feb 2007 15:20:00 +0000</pubDate><atom:updated>2007-02-20T10:27:45.187-05:00</atom:updated><title>ActiveMQ Updates</title><description>Wow, it's been a while since I've posted but several exiting events have been happing in the ActiveMQ arena.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Apache ActiveMQ has &lt;span style="font-weight: bold;"&gt;GRADUATED&lt;/span&gt; out of the incubator and is an official Apache project!&lt;/li&gt;&lt;li&gt;The ActiveMQ website has moved to http://activemq.apache.org and has received a new face lift thanks to yours truly.&lt;/li&gt;&lt;li&gt;ActiveMQ 5.0 development is making huge progress and &lt;a href="http://rajdavies.blogspot.com/index.html"&gt;Rob&lt;/a&gt; has put up an &lt;a href="http://rajdavies.blogspot.com/2007/02/apache-activemq-version-50-broker.html"&gt;excellent post&lt;/a&gt; outlining the upcoming features in the next version of ActiveMQ.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;If you want to get a preview of those features, &lt;a href="http://activemq.apache.org/source.html"&gt;get the latest from the ActiveMQ trunk&lt;/a&gt; and kick it around.  &lt;a href="http://activemq.apache.org/discussion-forums.html"&gt;Feedback&lt;/a&gt; would be appreciated.</description><link>http://hiramchirino.com/blog/2007/02/activemq-updates.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-116103515012267706</guid><pubDate>Mon, 16 Oct 2006 21:31:00 +0000</pubDate><atom:updated>2006-10-16T17:45:50.173-04:00</atom:updated><title>Web 2.0 Communication Layer: from HTTP to Comet to Internet Mess</title><description>Checkout this &lt;a href="http://www.theserverside.com/news/thread.tss?thread_id=42641"&gt;server side thread&lt;/a&gt;.  Folks are starting to think about using JavaScript on the browser to access an "Internet Messaging Bus".  They want to have thing like:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Guaranteed delivery&lt;/li&gt;&lt;li&gt;    Once and only once deliveryGuaranteed&lt;/li&gt;&lt;li&gt; order of deliveryServer&lt;/li&gt;&lt;li&gt; push and client pullFunny&lt;/li&gt;&lt;/ul&gt; thing is that most of all that is &lt;a href="http://activemq.org/site/ajax.html"&gt;available today&lt;/a&gt; with &lt;a href="http://activemq.org"&gt;ActiveMQ&lt;/a&gt;!  And to get really great performance, use ActiveMQ with &lt;a href="http://jetty.mortbay.org/"&gt;Jetty&lt;/a&gt;!  ActiveMQ comes with a simple little JavaScript API that allows you to access the ActiveMQ message bus using Comet style http polling.  And ActiveMQ provides you all the above guarantees like all good message brokers.&lt;br /&gt;&lt;br /&gt;Other news on this front is all the Ajax tool kits are starting to look at being able to inter-operate.  At a minimum, a page with multiple tool kits will need to share it's connections back to the server.  So they will need to share an API to broker requests back to the server.  I'll keep an eye out for this API because it sounds like something that could be easily tied into ActiveMQ.</description><link>http://hiramchirino.com/blog/2006/10/web-20-communication-layer-from-http.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-115092081104294189</guid><pubDate>Wed, 21 Jun 2006 19:50:00 +0000</pubDate><atom:updated>2006-10-26T11:07:36.700-04:00</atom:updated><title>AMQP - An Interesting Start</title><description>A few days ago the AMQP spec was announced on &lt;a href="http://www.theserverside.com/news/thread.tss?thread_id=41008"&gt;TSS&lt;/a&gt;.  I quickly downloaded the spec and I have some initial impressions.&lt;br /&gt;&lt;br /&gt;#1: I think it's unfortunate that the "AMQP" sounds too much like it has something to do with ActiveMQ which most folks abbreviate to AMQ, as in, "Have you downloaded AMQ 4?".  This along with the fact that AMQ and AMQP are both related technologies, the first is a mom provider and the second is a wire protocol for mom providers.&lt;br /&gt;&lt;br /&gt;#2: This is nice spec.  I like the client specified "binding" concepts introduced in this spec.  Perhaps these concepts can be introduced in higher level APIs like JMS one day.&lt;br /&gt;&lt;br /&gt;#3: It seems that one of the goals of the spec is for vendors to be able to interoperate with each other.  I have got a feeling that specs like WS-Notification or &lt;a href="http://stomp.codehaus.org/"&gt;STOMP&lt;/a&gt; have a better chance at accomplishing this.  Binary wire protocols are hard to implement and I doubt there will be many implementations of it.  If a good open source reference implementation becomes available then this would become more plausible.&lt;br /&gt;&lt;br /&gt;#4: It does not go into details of how the content of the messages should be encoded.  This effectively means that JMS implementations will not be able to interoperate using AMQP since different implementations would encodes the content of a JMS Message differently.  Even for simple things like TextMessage, would they use UTF-8 or ASCII?  And it gets even more complex for messages lke StreamMessage and MapMessage.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#5: I may be wrong, but it seems like messages are always sent asynchronously.  In some cases the JMS spec requires messages to be sent synchronously.  Perhaps transactions can be used to simulate a synchronous send, but wouldn't that add substantial of overhead?</description><link>http://hiramchirino.com/blog/2006/06/amqp-interesting-start.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-115056302665167538</guid><pubDate>Sat, 17 Jun 2006 16:20:00 +0000</pubDate><atom:updated>2006-06-18T22:35:50.173-04:00</atom:updated><title>Problems with Geronimo and RTC</title><description>The &lt;a href="http://geronimo.apache.org/"&gt;Apache Geronimo&lt;/a&gt; project has recently changed it's commit policy to a Review then Commit (RTC) policy.  Which means no one can commit to the Geronimo project unless you submit a patch and then get 3 other Geronimo committers to review, apply, test, and then give you 3 +1s.&lt;br /&gt;&lt;br /&gt;In theory, this is supposed to increase the communication between the developers.  In practice, it's looking a little scary.  For example, I just wanted to move some ActiveMQ integration modules from living in the ActiveMQ project to live in the Geronimo project.  Now, before I submitted the patch, everyone agreed that it was good idea.  I submitted the patch and now I have been waiting 12 days to get enough +1s.&lt;br /&gt;&lt;br /&gt;Why is it taking so long?  I think it's because the Geronimo project is bigger than what anybody knows.  But we are lucky to have a large developer base that is specialized in different areas of the server.  This specialization is what allows us to produced a server with high quality parts that in turn give us a high quality server.  I don't go wasting time figuring how what's the best way to implement a Transaction Manager or Deployment system, because I trust the guys that are already working on those pieces.&lt;br /&gt;&lt;br /&gt;With the RTC policy, if I we want to get Transaction Manager patch in, folks that might not know ANYTHING about Transaction Manager are going to be looking at those patch and pretending they understand what's going on and then giving the +/- 1's.  The same thing goes for the developer tooling, JMS Messaging, etc. etc.&lt;br /&gt;&lt;br /&gt;I guess in the long run, it may be good that folks get to know other Geronimo systems besides what they specialize in, but in short term, your going to slow down your development model by at least a factor of 10 (I've already been waiting over 10 days to do something that used to take me 10 seconds).  Furthermore, since Geronimo is playing feature catch up, most developers already have enough on their plates, I doubt they also want to review and test other folks patches x3 if the previous development pace is to be sustained.</description><link>http://hiramchirino.com/blog/2006/06/problems-with-geronimo-and-rtc.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-115033788517949817</guid><pubDate>Thu, 15 Jun 2006 02:10:00 +0000</pubDate><atom:updated>2006-06-15T15:25:14.166-04:00</atom:updated><title>Getting Involved with Open Source</title><description>I have a younger brother-in-law that also went in to software development field, and he thinks that I'm the luckiest guy in the world since my day job is basically working on open source projects.  Every once in a while he asks me, "How can I get more involved with open source?".&lt;br /&gt;&lt;br /&gt;I always say, just find a project that you like and start contributing to it.  So far, not much has happened... So Jason, screw that "find a project" stuff.. How about you pick up this &lt;a href="http://issues.apache.org/activemq/browse/AMQ-753"&gt;issue&lt;/a&gt;, and implement it?  It's a small little feature that lots of folks would find handy!</description><link>http://hiramchirino.com/blog/2006/06/getting-involved-with-open-source.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-114901253538957965</guid><pubDate>Tue, 30 May 2006 18:04:00 +0000</pubDate><atom:updated>2006-05-30T14:08:55.390-04:00</atom:updated><title>Blog URL Moved</title><description>Since I hate to be dependent on 3rd party services and URLs, I moved my Blog URL to a URL that I own: &lt;a href="http://hiramchirino.com"&gt;http://hiramchirino.com&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;They funny thing is that blogspot wasted no time when I changed how I published my blog, and someone else snatched up my old blogbucket.blogspot.com url.</description><link>http://hiramchirino.com/blog/2006/05/blog-url-moved.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-114834470526741425</guid><pubDate>Mon, 22 May 2006 23:40:00 +0000</pubDate><atom:updated>2006-05-22T20:38:25.296-04:00</atom:updated><title>Beefing up Kaha</title><description>&lt;a href="http://rajdavies.blogspot.com/"&gt;Rob Davies&lt;/a&gt; and I spent some time last week looking at his &lt;a href="http://rajdavies.blogspot.com/2006/04/file-store-persistence-for-activemq.html"&gt;Kaha&lt;/a&gt; message store implementation.  In a way, it's similar to a experimental QuickJournal implementation that I had committed previously.  The idea of the QuickJournal was that Journal log files were not deleted and that messages could be easily retrieved from the Journal.  The journal would only checkpoint to the long term store the location of where the messages are located in the journal.&lt;br /&gt;&lt;br /&gt;In a way, the long term store (JDBC in most cases) is being used like an index into the Journal files.  This increases the performance of the journal since the amount of data that needs to be stored in long term store is drastically reduced and generally of a small size which works better with JDBC batch operations.  Also messages do not need to be batched up in memory (for batch insertion into the DB) thus reducing the memory impact of the message store.&lt;br /&gt;&lt;br /&gt;The funny part is that at some time last week, somehow a wager got started about who could build the fastest message store implementation that could stay under 64 megs of memory usage when a queue was loaded up with 10,000,00 1k messages.  Kaha at the current time keeps it's indexes fully in memory.  So Rob started looking into a way to optimize the down so that they could fit in 64 megs (Rob is the optimization King BTW).  I went down the route of we need to only load parts of the index into memory.  I even shared my algorithm concept with him as long as he did not use it, LOL.   In the end we realized, it was not going to be a weekend deal to implement this stuff and it would be best to work on a single solution together.&lt;br /&gt;&lt;br /&gt;Kaha, IS a nice API and is much more general purpose than the MessageStore APIs.  Some of the problems that Kaha currently has is that it does not guarantee constancy of the indexes and it does not support transactional operations.  Those are 2 things that the journal can do today, and which Kaha could do if we modified it's DataManager so that it journaled operations instead of just storing data items.  So I'm going to try to integrate many of the Journal concepts into the DataManager so that:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The data file acts as a redo log that is 'replayed' on startup to bring the indexes to a consistent state&lt;/li&gt;&lt;li&gt;Use async batch writes for increased throughput: micro benchmarks showed that the journal can write at about 21 megs/s while the current DataManager maxes out at 8 megs/s&lt;/li&gt;&lt;/ul&gt;Other things to consider is that since the interfaces to the Kaha APIs are based on the List and Map interfaces, there is no easy way to:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;switch between doing async and sync operations against the data files.  Currently Kaha has a force() method on the store that does syncs up any pending write but this is not optimal when using async batched writes (you end up syncing on a subsequent write).&lt;/li&gt;&lt;li&gt;associate a transaction with a operation against a list or a map&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;An idea I've been floating in my head is the ability to have multiple proxies to a single physical container.  Each proxy could be enlisted in a different transaction or it's flag to do sync vs. async actions changed.&lt;br /&gt;&lt;br /&gt;As you might be able to tell by now, I'm on the Kaha crack now... bless Rob.</description><link>http://hiramchirino.com/blog/2006/05/beefing-up-kaha.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-114833528601861069</guid><pubDate>Mon, 22 May 2006 21:14:00 +0000</pubDate><atom:updated>2007-01-04T10:38:01.476-05:00</atom:updated><title>A Closer Look at the Gigantic Destination Nut</title><description>I exposed the gigantic destination issues that &lt;a href="http://activemq.org"&gt;ActiveMQ&lt;/a&gt; has in a &lt;a href="http://blogbucket.blogspot.com/2006/05/scaling-to-gigantic-queues-and-topics.html"&gt;previous blog post&lt;/a&gt;.  I'll take a little time to expand on the issue and why it's not simple to solve, and what ActiveMQ 4.0 does today.&lt;br /&gt;&lt;br /&gt;It's obvious that we need to swap messages to disk when a queue needs to hold more messages than it could hold in RAM.  We sometimes also call that spooling messages to disk.  The issues that make this hard to implement are:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Writing a message to disk slows you down a little, avoid it if possible.  Sometimes you have no choice if the message was marked a persistent.&lt;/li&gt;&lt;li&gt;Sometimes we may need to swap out even non-persistent messages.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Avoid chucking a message out of ram if possible since loading it back from disk is REALLY slow.&lt;/li&gt;&lt;li&gt;When a consumer is ready to consume a message, that message should already be in memory, waiting for it to load from disk will lead to consumer starvation.&lt;/li&gt;&lt;li&gt;Even keeping lists of message references to where messages are on disk can use up too much memory.  10,000,000 disk locations in a linked list where every node in the list used only 100 bytes would still chew up about 100 megs of memory.&lt;/li&gt;&lt;/ul&gt;ActiveMQ 4.0 takes a simple approach and when sending persistent message to a Queue, it uses a MessageReference when moving a message though the Broker message dispatch process.  A process that could take a while for a message to go from producer to a consumer and finally message acknowledgement.  The MessageReference starts out being direct, in that it hold a reference to the message to keep it in RAM, but if the reference count drops below 1, then the direct reference is dropped.  The reference count is allowed to drop to 0 when the message is just sitting in the Queue's message list or in a consumer's pending list.  The reference count is &gt; 0 while it's being dispatched to a consumer.  The MessageReference knows how to reload a Message from the peristence store when it's reference count goes up above 0.&lt;br /&gt;&lt;br /&gt;This is a quick and dirty fix and it works, but it obviously does not fix all the issues outlined initial.  The shortcomings of the current solution is that:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;it is only implemented for Queues&lt;/li&gt;&lt;li&gt;consumer starvation problem can exist since it does not persisted load messages asynchronously&lt;/li&gt;&lt;li&gt;it keeps a list of MessageReference objects which can still exhaust JVM memory&lt;/li&gt;&lt;/ul&gt;</description><link>http://hiramchirino.com/blog/2006/05/closer-look-at-gigantic-destination.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-114832752848793507</guid><pubDate>Mon, 22 May 2006 19:36:00 +0000</pubDate><atom:updated>2006-05-22T18:43:24.190-04:00</atom:updated><title>Mapping Beans to REST</title><description>I'm one of those guys that thinks that REST is great technology.  Sure, REST is does not do everything that SOAP can do, but I think that REST is built to be SIMPLE, something that SOAP and it's WS-* buddies forgot about.&lt;br /&gt;&lt;br /&gt;What we are missing is a good standard way to map REST to the simple POJO programming model that most of the Java industry has been quickly adopting.  Seems &lt;a href="http://netzooid.com/blog/2006/05/22/an-attempt-at-a-rest-programming-model/"&gt;SeXFire Dan&lt;/a&gt; has good start on a way of &lt;a href="http://netzooid.com/blog/2006/05/22/an-attempt-at-a-rest-programming-model/"&gt;doing that&lt;/a&gt;!&lt;br /&gt;&lt;br /&gt;Dan if you read this, I would make it even simpler if by default the method names for a service are determined by convention.  For example, for a given XService, the methods: &lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;getX(...) : is automatically mapped to a HttpMethod.GET&lt;br /&gt;deleteX(...): is automatically mapped to a HttpMethod.DELETE&lt;br /&gt;addX(...): is automatically mapped to HttpMethod.POST&lt;br /&gt;updateX(...): is automatically mapped to a HttpMethod.PUT&lt;br /&gt;&lt;/div&gt;</description><link>http://hiramchirino.com/blog/2006/05/mapping-beans-to-rest.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-114832056946154794</guid><pubDate>Mon, 22 May 2006 17:49:00 +0000</pubDate><atom:updated>2006-11-24T15:03:33.770-05:00</atom:updated><title>Scaling to Gigantic Queues and Topics</title><description>One of the current issues with ActiveMQ is that it's an uber fast message broker while consumers are online and consuming messages, but things start to kinda not works so great when you have a use case where you want to queue up 'work/messages' for a consumer that will be offline for days.&lt;br /&gt;&lt;br /&gt;In ActiveMQ 4.0, we have hacked in some initial support for loading up a queue with a huge number of messages without blowing up the memory usage of the JVM, but it's a bit hacky and it may fail work right if a consumer comes back online and the consumer recovery process kicks in.&lt;br /&gt;&lt;br /&gt;All in all 4.0 is a solid broker with a ton of new and exciting features, but personally, I would like to focus on getting 4.1 to be the broker that can handle Gigantic Queues and Topics.  I'll post some more messages on this topic in the next few hours as I recap what I've discovered in the last few weeks.</description><link>http://hiramchirino.com/blog/2006/05/scaling-to-gigantic-queues-and-topics.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-9278084.post-114832013327967105</guid><pubDate>Mon, 22 May 2006 17:46:00 +0000</pubDate><atom:updated>2006-05-22T18:10:24.923-04:00</atom:updated><title>&lt;start-of-blog&gt;</title><description>This just a quick post on why I'm going to start blogging.&lt;br /&gt;&lt;br /&gt;I think that I get involved in many small projects, and sometimes I don't get back some of the smaller ones.  I may be deluding myself, but I'm hoping that If I post about it, one day I will re-read my blog and get back to projects that I had found interesting before.  I also hope other folks may find some of these projects interesting and will help with them.</description><link>http://hiramchirino.com/blog/2006/05/this-just-quick-post-on-why-im-going.html</link><author>noreply@blogger.com (Hiram Chirino)</author></item></channel></rss>