Rogelio, Nginx will buffer the entire request before sending it to any mongrels... This probably isn't what you want when dealing with large uploads ;).
Check out: http://wiki.codemongers.com/NginxHttpProxyModule Ezra mentioned a while back that the author of Nginx may fix this issue in the future, but for now your requests won't make it through Nginx to Rails (or a dedicated upload mongrel) until the upload is complete... Matt On 11/29/06, Philip Hallstrom <[EMAIL PROTECTED]> wrote:
> On Tue, 28 Nov 2006 14:20:00 -0600 (CST) > Philip Hallstrom <[EMAIL PROTECTED]> wrote: > >>> If you use something like mongrel_upload_progress, the single-threadedness >>> of Rails is no problem because Mongrel will intercept the upload and not >>> hand it off to Rails until it's complete. That's what I'm doing at the >>> moment, and my app runs just fine on one Mongrel. >> >> I haven't used this plugin, but just gave it a quick read through... one >> thing I didn't see mentioned... can I skip the upload progress stuff and >> just get the benefits of it not blocking mongrel/rails? > > Yep, actually that's an incredibly trivial thing to do. You'd probably > be better off just starting with a small handler that moved the files > where you wanted after the upload, and then expand it to your needs. Yeah, you're right. I grabbed the Rick's svn repo and ran his example in about 10 minutes... That's pretty slick :) Slick enough I might keep that progress bar :) -philip _______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
-- Matt White ----------------------- Thermal Creative http://blog.thermalcreative.com
_______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
