[Mailman-Developers] REST API speed
Eric Searcy
eric at linuxfoundation.org
Thu Jul 9 02:13:45 CEST 2015
I'm curious about how the REST interface scales out. I've posted a bug
to Gitlab about Postorius making a REST request for every list member on
the list info page [1], but aside from waiting for a fix for that, I've
also been looking more into the performance of the Mailman3 REST
interface itself.
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...
Eric
[1] https://gitlab.com/mailman/postorius/issues/25
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/mailman-developers/attachments/20150708/bb69b944/attachment.sig>
More information about the Mailman-Developers
mailing list