activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Benguerel (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2386) Improve scalability of stomp+nio transport
Date Tue, 25 May 2010 03:43:53 GMT

    [ 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.


Mime
View raw message