[LRUG] Merb

Pratik Naik pratik at thinkwares.com
Tue Aug 14 05:40:27 PDT 2007


iirc, even with rails, file uploads will not block mongrel process on
long file uploads.

But the problem with rails and big files is when you use
send_data/send_file. In which case you should be using X_SENDFILE
stuff or something like :
https://rubyforge.org/projects/msecuredownload/
https://rubyforge.org/projects/msend-file/

But as merb is thread-safe, it won't have this problem.

On 8/14/07, Marcus Roberts <marcus at marcusr.org.uk> wrote:
>
> > On 14 Aug 2007, at 12:54, Martin Sadler wrote:
> >> Anybody tried it? and what did you think to it?
>
> I'm using it in production for file uploading.
>
> It works really well - integrates ActiveRecord nicely, and has good
> performance.  And because it's properly multithreaded it doesn't
> block on long file uploads.
>
> I've not used it for much more than that though, but it seems a
> decent lightweight replacement for Rails if you need such a thing.
>
> Marcus
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>


-- 
http://m.onkey.org



More information about the Chat mailing list