[web-devel] Caching the System time

Greg Weber greg at gregweber.info
Fri Aug 5 16:57:12 CEST 2011


Helllo Snap maintainers!

We are finally getting around to implementing a robust logging solution
within Yesod. This creates the issue of having to frequently access the
system time. I see that Snap has a separate thread to get the system time
and cache the result [1]. Are you happy with this implementation? Can it be
placed in a separate package and shared between web frameworks?

Thanks,
Greg Weber

[1]
http://hackage.haskell.org/packages/archive/snap-server/0.2.2/doc/html/src/Snap-Internal-Http-Server-Date.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110805/91c33ab4/attachment.htm>


More information about the web-devel mailing list