Alexander Kellett <ruby-lists / lypanov.net> writes:

> On Jan 24, 2005, at 7:39 PM, Joao Pedrosa wrote:
>> When I think about serving large binary files with WEBrick, I soon
>> realize that we really need webservers.
>
> with large files the difference is theoretically
> *much* lower. its the small files that suffer from
> latency problems for a webserver written in pure ruby.
>
> i imagine that ruby2c + some clever profiling will
> get some damn impressive results.
>
> Alex

Note that for raw IO, a well-tuned server can use OS-depended calls
like sendfile(2), which are not directly accessible through Ruby.

-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org