Sending files through send_file or by httpd?

If I were to serve files, would send_file via rails be slow?
I think they will be 200mb avi files.

Would it be better to send them via /public ?

But I would like to track the clicks on each file - which makes me think
that I can’t serve them out on /public as those clicks will not go
through my application.

Any help or suggestions?

On 1-jun-2006, at 0:33, Ken K. wrote:

Any help or suggestions?
Do a redirect or make use of the lighttpd facilities for special
downloading. Lighttpd threads very well - an FCGI doesn’t thread at
all so you will be losing a whole dispatcher until the download is
complete.


Julian ‘Julik’ Tarkhanov
please send all personal mail to
me at julik.nl

Julian ‘Julik’ Tarkhanov wrote:

On 1-jun-2006, at 0:33, Ken K. wrote:

Any help or suggestions?
Do a redirect or make use of the lighttpd facilities for special
downloading. Lighttpd threads very well - an FCGI doesn’t thread at
all so you will be losing a whole dispatcher until the download is
complete.


Julian ‘Julik’ Tarkhanov
please send all personal mail to
me at julik.nl

And what if that redirected link is accidentally leaked? Is there a way
to prevent that?

And could you elaborate on what lighttpd facilities there are for
special downloading?

And thank you for answering the question :D.

On 1-jun-2006, at 1:32, Ken K. wrote:

special downloading?
http://lighttpd.net/documentation/secdownload.html

Julian ‘Julik’ Tarkhanov
please send all personal mail to
me at julik.nl

Julian ‘Julik’ Tarkhanov wrote:

On 1-jun-2006, at 1:32, Ken K. wrote:

special downloading?
http://lighttpd.net/documentation/secdownload.html

Julian ‘Julik’ Tarkhanov
please send all personal mail to
me at julik.nl

Cheers