You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by js...@apache.org on 2006/06/11 11:19:21 UTC
svn commit: r413429 - in /incubator/activemq/site: using-activemq.html
what-is-the-prefetch-limit-for.html
Author: jstrachan
Date: Sun Jun 11 02:19:21 2006
New Revision: 413429
URL: http://svn.apache.org/viewvc?rev=413429&view=rev
Log:
Latest export from confluence
Modified:
incubator/activemq/site/using-activemq.html
incubator/activemq/site/what-is-the-prefetch-limit-for.html
Modified: incubator/activemq/site/using-activemq.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/using-activemq.html?rev=413429&r1=413428&r2=413429&view=diff
==============================================================================
--- incubator/activemq/site/using-activemq.html (original)
+++ incubator/activemq/site/using-activemq.html Sun Jun 11 02:19:21 2006
@@ -258,10 +258,10 @@
<a href="javascript:hideChildren()">Hide Children</a></span>
</div>
<div class="greybox" id="children" style="display: none;">
- <a href="http://goopen.org/confluence/display/ACTIVEMQ/How+can+I+enable+detailed+logging" title="How can I enable detailed logging">How can I enable detailed logging</a>
+ <a href="http://goopen.org/confluence/display/ACTIVEMQ/How+do+I+embed+a+Broker+inside+a+Connection" title="How do I embed a Broker inside a Connection">How do I embed a Broker inside a Connection</a>
<span class="smalltext">(ActiveMQ)</span>
<br>
- <a href="http://goopen.org/confluence/display/ACTIVEMQ/How+do+I+embed+a+Broker+inside+a+Connection" title="How do I embed a Broker inside a Connection">How do I embed a Broker inside a Connection</a>
+ <a href="http://goopen.org/confluence/display/ACTIVEMQ/How+can+I+enable+detailed+logging" title="How can I enable detailed logging">How can I enable detailed logging</a>
<span class="smalltext">(ActiveMQ)</span>
<br>
<a href="http://goopen.org/confluence/display/ACTIVEMQ/How+can+I+make+ActiveMQ+faster" title="How can I make ActiveMQ faster">How can I make ActiveMQ faster</a>
Modified: incubator/activemq/site/what-is-the-prefetch-limit-for.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/what-is-the-prefetch-limit-for.html?rev=413429&r1=413428&r2=413429&view=diff
==============================================================================
--- incubator/activemq/site/what-is-the-prefetch-limit-for.html (original)
+++ incubator/activemq/site/what-is-the-prefetch-limit-for.html Sun Jun 11 02:19:21 2006
@@ -157,6 +157,7 @@
<LI><A href="visualisation.html" title="Visualisation">Visualisation</A></LI>
<LI><A href="kaha-persistence.html" title="Kaha Persistence">Kaha Persistence</A></LI>
<LI><A href="async-sends.html" title="Async Sends">Async Sends</A></LI>
+ <LI><A href="jmsxuserid.html" title="JMSXUserID">JMSXUserID</A></LI>
<LI><A href="changes-in-40.html" title="Changes in 4.0">Other new features</A></LI>
</UL>
@@ -217,6 +218,7 @@
<LI><A href="wire-protocol.html" title="Wire Protocol">Wire Protocol</A></LI>
<LI><A href="developer-guide.html" title="Developer Guide">Developer Guide</A></LI>
<LI><A href="becoming-a-committer.html" title="Becoming a committer">Becoming a committer</A></LI>
+ <LI><SPAN class="nobr"><A href="http://ci.gbuild.org/continuum/" title="Visit page outside Confluence" rel="nofollow">GBuild<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
<LI><A href="integration-tests.html" title="Integration Tests">Integration Tests</A></LI>
<LI><A href="activemq-performance-module-users-manual.html" title="ActiveMQ Performance Module Users Manual">Maven2 Performance Plugin</A></LI>
<LI><A href="benchmark-tests.html" title="Benchmark Tests">Benchmark Tests</A></LI>
@@ -242,8 +244,7 @@
<!--
<div class="pagetitle">What is the prefetch limit for</div>
-->
- <DIV class="wiki-content">
-<P>One of the aims of ActiveMQ is to be a high performance message bus. This means using a <A href="seda.html" title="SEDA">SEDA</A> architecture to perform as much work as possible asynchronously. To be able to acheive high performance it is important to stream messages to consumers as fast as possible so that the consumer always has a buffer of messages, in RAM, ready to process - rather than have them explicitly pull messages from the server which adds significant latency per message.</P>
+ <DIV class="wiki-content"><P>One of the aims of ActiveMQ is to be a high performance message bus. This means using a <A href="seda.html" title="SEDA">SEDA</A> architecture to perform as much work as possible asynchronously. To be able to acheive high performance it is important to stream messages to consumers as fast as possible so that the consumer always has a buffer of messages, in RAM, ready to process - rather than have them explicitly pull messages from the server which adds significant latency per message.</P>
<P>There is a danger however that this aggressive pushing of messages to the consumers could flood a consumer as typically its much faster to deliver messages to the consumer than it often is to actually process them.</P>
@@ -271,7 +272,9 @@
consumer = session.createConsumer(queue);</PRE>
</DIV></DIV>
-</DIV>
+<H3><A name="Whatistheprefetchlimitfor-RamversuspPerformancetradeoff"></A>Ram versus pPerformance tradeoff</H3>
+
+<P>Setting a relatively high value of prefetch leads to higher performance; so the default values are typically > 1000; usually higher for topics and higher for the non-persistent messaging. The prefetch size dictaces how many messages will be held in RAM on the client so if your RAM is limited you may want to set a low value such as 1 or 10 etc.</P></DIV>
</DIV>
</TD>
@@ -281,8 +284,8 @@
</DIV>
<DIV id="site-footer">
Added by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>,
- last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=chirino">Hiram Chirino</A> on Mar 03, 2006
- (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=110&originalId=1547">view change</A>)
+ last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on Jun 11, 2006
+ (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=110&originalId=8687">view change</A>)
(<A href="http://goopen.org/confluence/pages/editpage.action?pageId=110">edit page</A>)
</DIV>