qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Foglia (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-3297) Python SWIG client API seems no faster than pure Python client API
Date Wed, 08 Jun 2011 15:06:59 GMT

     [ https://issues.apache.org/jira/browse/QPID-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Anthony Foglia updated QPID-3297:

    Attachment: batch_producer.swig.out

These are my test producer, test consumer, and test runner.  Also there are two timings results
from using the pure python API and the SWIG api.  (I suggest just looking at the tail of the
files for the summaries.)

> Python SWIG client API seems no faster than pure Python client API
> ------------------------------------------------------------------
>                 Key: QPID-3297
>                 URL: https://issues.apache.org/jira/browse/QPID-3297
>             Project: Qpid
>          Issue Type: Task
>    Affects Versions: 0.10
>         Environment: RHEL 6.  Qpid broker version 0.7.946106-28, Python client version
0.7.946106-15, SWIG Python client version 0.10.
>            Reporter: Anthony Foglia
>         Attachments: batch_producer.py, batch_producer.python.out, batch_producer.swig.out,
timing_consumer.messaging.py, timing_tests.py
> I am trying to get as high a transfer rate as possible, and while the qpid-perftest 50,000
transfers/sec (34,000 publish, 26,000 subscribe), the Python consumer I wrote is only reading
~1600 on average.  I tried the swig version and the average speeds are roughly the same (if
not worse), but the variance is much greater.
> I'm opening this issue so I can share my client code with others since I can't put it
on the mailing list.  Here is the original thread: http://mail-archives.apache.org/mod_mbox/qpid-users/201106.mbox/ajax/%3C4DE921C0.2000509@princeton.com%3E

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message