[Distutils] Current Warehouse Problems

Donald Stufft donald at stufft.io
Mon Apr 25 10:46:09 EDT 2016


> On Apr 25, 2016, at 10:37 AM, Ionel Cristian Mărieș <contact at ionelmc.ro> wrote:
> 
> Probably none of my damn business but why does Warehouse use gevent/eventlet? Does it really need them? Are there hosting constraints that severely limit available RAM (so threads/processes aren't an option)?
> 
> 

Primarily it did that so that it could dynamically reject file uploads without having to buffer them entirely in memory or on disk. Without something asynchronous to the Python process then we end up having a hard limit set in whatever the WSGI server is that buffers files to disk or rejects file uploads over a certain size.

Other than that, it doesn’t need it.


-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160425/e768d7dc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160425/e768d7dc/attachment.sig>


More information about the Distutils-SIG mailing list