From: Christian Neukirchen Date: 2005-01-31T22:58:49+09:00 Subject: Re: Why is webrick sooo slow? Alexander Kellett 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 http://chneukirchen.org