Brandon S. Allbery KF8NH <[EMAIL PROTECTED]> wrote:
> I should clarify:  what sendfile() is supposed to optimize
> isn't writing large strings, or even the user<->kernel
> roundtrips; it's an optimization to the kernel network stack
> (network buffer management, to be specific).  Web servers use
> it to serve static content (e.g. icons, images, stylesheets)
> because it significantly reduces system load.

  Indeed, and it my intention to use it for just this purpose --
  serving numerous large images from a Haskell network server.
  However -- and here is the weird part -- it needs to work on
  Windows as well, because the server must be able to run
  locally for clients.

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

Reply via email to