[Haskell-cafe] RFC: Extendable and Easy-To-Use Logger (HLogger)

Gregory Collins greg at gregorycollins.net
Wed Apr 13 10:10:14 CEST 2011


On Tue, Apr 12, 2011 at 11:45 PM, Henk-Jan van Tuyl <hjgtuyl at chello.nl> wrote:
>
> If you want to know what the last thing was that your application was doing,
> before it crashed (e.g. at the customers site), you better write every
> message immediately to disk.

Yes, I suppose it would depend on your use case whether you wanted to
optimize for throughput or for latency to secondary storage. I just
know from experience that for high-throughput server applications,
writing each message to disk is going to introduce unacceptable
context-switching overhead.

G
-- 
Gregory Collins <greg at gregorycollins.net>



More information about the Haskell-Cafe mailing list