[Mailman-Developers] REST API speed

Barry Warsaw barry at list.org
Fri Jul 10 00:26:15 CEST 2015


On Jul 08, 2015, at 05:13 PM, Eric Searcy wrote:

>Testing with siege (15 concurrent users) on a production VM, I get 29
>requests/sec and a concurrency of just 1.3x requesting the
>"/3.0/domains" URL.  For "/3.0/system/versions" I get only about 0.2x
>concurrency.  This may not scale too well to a very active Postorius,
>especially if 1 Postorious request results in many Mailman API requests.
>
>Is anyone using anything besides wsgiref for the REST interface?
>(uwsgi, gunicorn, ?)  I thought I could get some extra performance that
>way...

You're probably the first person to experiment with this, so please let us
know how it goes.  If you get one of the alternative wsgi servers working and
it improves things, please do contribute some documentation.  I'd definitely
like for this to be a viable option.  wsgiref is there because it's all
stdlib.

Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/mailman-developers/attachments/20150709/a7d3c44a/attachment.sig>


More information about the Mailman-Developers mailing list