qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marnie McCormack (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-301) Tune performance when reading message content from client
Date Tue, 16 Jan 2007 17:01:29 GMT
Tune performance when reading message content from client
---------------------------------------------------------

                 Key: QPID-301
                 URL: https://issues.apache.org/jira/browse/QPID-301
             Project: Qpid
          Issue Type: Improvement
          Components: Java Client
    Affects Versions: M1
            Reporter: Marnie McCormack
             Fix For: M2


The following code:

public void onMessage(Message message)
    {
        sLog.info("message received");
                
        if (message instanceof JMSBytesMessage)
        {
            String correlationId = "unknown";

            try
            {
                JMSBytesMessage requestMessage = (JMSBytesMessage) message;

                // Read and deserialise message
                String requestMessageString = requestMessage.toBodyString();
                correlationId = requestMessage.getJMSCorrelationID();

takes 5ms to execute on an opteron Linux server, with a 100K message. User expected sub ms
performance from this test. Auto acknowledge mode.

Note that bytes message sent from C++ client publisher.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message