Fr0de wrote: > I'm creating a web app (https://launchpad.net/efx/) for sending files > via http, notified by email. > It works well for small files, but we've had trouble with larger files > (tested with ~120MB and ~650MB files) - the 120MB one seems to upload, > but isn't actually received, the 650 seems to time out.. > So are there any default limits I have missed?
There's no limits in the Python side. There may be limits in the cgi module, I've never looked that closely. For very large uploads, I'd actually be inclined to recommend something like Twisted, even if for *just* the upload and none of the other processing. Because uploads take a long time to process (just to get the data over the wire) with WSGI/Pylons you are going to have a thread or process dedicated to that for the entire time of the upload. Twisted can manage the upload without any extra processes, and since it handles all of HTTP you can be a little more sure about what it's doing. In theory you could run Twisted in the same process and on a different port, or use Twisted's WSGI support (which isn't very well described or developed, I'm afraid) and run everything else through Pylons that way. Or if you don't mind the extra installation and setup, just run a separate Twisted process. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org : Write code, do good : http://topp.openplans.org/careers --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
