"sendfile" call as NIF. Good or bad idea?

zabrane Mikael <>
Sat Nov 27 12:30:50 CET 2010


Hi guys,

There exists a "sendfile" linked-in driver extracted (Tuncer Ayaz)
from "yaws" (Steve Vinoski) at:
https://github.com/tuncer/sendfile

The code is a bit cryptic to me (no offense) and I was wondering if
it's good (or not) to re-implement it as a NIF?
I'm asking that question after seeing Joel experiment on CouchDB speedup:
http://www.trapexit.org/forum/viewtopic.php?p=62191&sid=67e9d1167a4d0d6c1fb6f9f4b81ff92b

Thanks in advance.
-- 
Regards
Zabrane


More information about the erlang-questions mailing list