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] [Closed] (QPID-3297) Python SWIG client API seems no faster than pure Python client API
Date Fri, 17 Jun 2011 17:34:47 GMT

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

Anthony Foglia closed QPID-3297.
--------------------------------

    Resolution: Not A Problem

As followed up in the mailing list thread, my problem was incorrect configurations using the
SWIG API.  Now that I know the correct way, the SWIG API is much quicker than the Python API.

> 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


Mime
View raw message