You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2009/09/11 10:14:12 UTC
[jira] Created: (AMQ-2386) Improve scalability of stomp+nio
transport
Improve scalability of stomp+nio transport
------------------------------------------
Key: AMQ-2386
URL: https://issues.apache.org/activemq/browse/AMQ-2386
Project: ActiveMQ
Issue Type: Improvement
Components: Broker
Affects Versions: 5.3.0
Reporter: Dejan Bosanac
Assignee: Dejan Bosanac
Currently stomp+nio transport still uses one thread per client. Use selectors to minimize number of threads and improve scalability.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (AMQ-2386) Improve scalability of stomp+nio
transport
Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dejan Bosanac resolved AMQ-2386.
--------------------------------
Resolution: Fixed
Fix Version/s: 5.3.0
Resolved with svn revision 813722
> Improve scalability of stomp+nio transport
> ------------------------------------------
>
> Key: AMQ-2386
> URL: https://issues.apache.org/activemq/browse/AMQ-2386
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.3.0
> Reporter: Dejan Bosanac
> Assignee: Dejan Bosanac
> Fix For: 5.3.0
>
>
> Currently stomp+nio transport still uses one thread per client. Use selectors to minimize number of threads and improve scalability.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQ-2386) Improve scalability of stomp+nio
transport
Posted by "Jason Benguerel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59531#action_59531 ]
Jason Benguerel commented on AMQ-2386:
--------------------------------------
Support for Byte type messages seems to be broken. If I send a message with a content-length header and any NULL characters I get the following exception:
2010-05-25 12:28:54,652 | DEBUG | Transport failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ NIO Worker
java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:180)
at java.io.DataInputStream.readFully(DataInputStream.java:152)
at org.apache.activemq.transport.stomp.StompWireFormat.unmarshal(StompWireFormat.java:146)
at org.apache.activemq.transport.stomp.StompWireFormat.unmarshal(StompWireFormat.java:60)
at org.apache.activemq.transport.stomp.StompNIOTransport.serviceRead(StompNIOTransport.java:121)
at org.apache.activemq.transport.stomp.StompNIOTransport.access$000(StompNIOTransport.java:49)
at org.apache.activemq.transport.stomp.StompNIOTransport$1.onSelect(StompNIOTransport.java:73)
at org.apache.activemq.transport.nio.SelectorSelection.onSelect(SelectorSelection.java:94)
at org.apache.activemq.transport.nio.SelectorWorker$1.run(SelectorWorker.java:119)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
> Improve scalability of stomp+nio transport
> ------------------------------------------
>
> Key: AMQ-2386
> URL: https://issues.apache.org/activemq/browse/AMQ-2386
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.3.0
> Reporter: Dejan Bosanac
> Assignee: Dejan Bosanac
> Fix For: 5.3.0
>
>
> Currently stomp+nio transport still uses one thread per client. Use selectors to minimize number of threads and improve scalability.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQ-2386) Improve scalability of stomp+nio
transport
Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-2386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60596#action_60596 ]
Dejan Bosanac commented on AMQ-2386:
------------------------------------
I opened a separate issue for this. Take a look at https://issues.apache.org/activemq/browse/AMQ-2822
> Improve scalability of stomp+nio transport
> ------------------------------------------
>
> Key: AMQ-2386
> URL: https://issues.apache.org/activemq/browse/AMQ-2386
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.3.0
> Reporter: Dejan Bosanac
> Assignee: Dejan Bosanac
> Fix For: 5.3.0
>
>
> Currently stomp+nio transport still uses one thread per client. Use selectors to minimize number of threads and improve scalability.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.