Feature Requests item #858113, was opened at 2003-12-11 12:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376688&aid=858113&group_id=22866
Category: JBossMQ
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: E.Sriram (esriram)
Assigned to: Nobody/Anonymous (nobody)
Summary: Time to publish messages increases with no of subscribers
Initial Comment:
The time taken to publish messages to a topic increase
if the no of subcribers increase.
The time takes to publish 1000 ObjectMessages is given
below.
No of subscribers = 0 Time=152ms
No of subscribers = 1 Time=571ms
No of subscribers = 2 Time=840ms
No of subscribers = 3 Time=1109ms
No of subscribers = 4 Time=1423ms
It is seen that the time taken to publish
(TopicPublisher.publish(message)) increases linearly if
the no of subscribers increase. Ideally the time should
remain constant irrespective of the number of subscribers.
Possible reason!!!
The addMessage() method in JMSTopic enumerates all the
subscribers (BasicQueue) and does the following
for(each BasicQueue)
{
1. Clone the message
2. Add the message to MessageCache of the
BasicQueue (Could result in a IO (persisting message
for memory management))
3. Enqueue the message
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376688&aid=858113&group_id=22866
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development