[Haskell-cafe] whatever happened to sendFile?

Ketil Malde ketil at malde.org
Thu Aug 14 02:28:24 EDT 2008


"Brandon S. Allbery KF8NH" <allbery at ece.cmu.edu> writes:

> On 2008 Aug 13, at 18:25, Jason Dusek wrote:

>>  Can you say more about this? I assume that sending static
>>  images back and forth is a good fit for sendfile().

> 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?

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants


More information about the Haskell-Cafe mailing list