> Yes, Mongrel processes the full request, including uploaded body before
> calling rails (and locking it).  If the request is large then it also
> streams the result to a tmpfile in order to not use up ram.

You're doing an amazing job Zed :)

> The response Rails generates is placed into an internal buffer and then
> when Rails is done Mongrel unlocks rails and spends the rest of it's
> time sending back the response.  This is necessary so that Rails can be
> locked for the shortest amount of time.

How does it interact with send_file and send_data? Which method is the
best to use to serve files of serveral MB?

Thanks for your help,

Philippe J.
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to