I was planning to take at least a closer look at that  ...

there was a sendfile patch once posted to this list


it is for R9B, so maybe the patch needs another patch for working on a current Erlang release.

On 10/22/07, Yariv Sadan < yarivsadan@gmail.com> wrote:

A few months ago Claes said that it would be easy to build a linked-in
driver for Yaws that would use the OS's sendfile() to deliver static
files (http://osdir.com/ml/web.server.yaws.general/2006-11/msg00089.html ).
This would speed up static file delivery because instead of reading
the file's content into the Erlang VM and then writing it back into
the OS socket, the file would be sent by the OS to the socket directly
without leaving kernel space.

Has anybody done this or is planning on doing it?


This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Erlyaws-list mailing list

Roberto Saccon