On 2008 Aug 14, at 2:28, Ketil Malde wrote:
"Brandon S. Allbery KF8NH" <[EMAIL PROTECTED]> writes:
Your previously stated use case sounds like a good fit.  I can easily
imagine sendfile() implementations starving other network operations,
though (and IIRC linux's early sendfile() implementation did so).
It's essentially an optimization specific to web servers.

Isn't it superseeded by splice(2) nowadays?


Most Unixen have some version of sendfile(); how portable is splice()? (Of course, there could be a system-dependent mapping; one is needed for Windows already.)

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to