Try "unagi-chan", it's supposed to be much faster than Control.Concurrent.Chan, and comes with bounded channels out of the box.

Greg

On Mon, Jan 23, 2017 at 2:52 AM, Saurabh Nanda <saurabhnanda@gmail.com> wrote:
(cross-posted from Reddit because I'm not sure of the audience overlap between haskell-cafe & reddit)

I want to broadcast some instrumentation data from deep within my Haskell app. This data will have listeners in some environments (say, debug), but not others (say, production). Which library should I be using? A little searching threw two possible candidates:

* http://hackage.haskell.org/package/split-channel
* https://hackage.haskell.org/package/broadcast-chan

But, I'm not sure if these are battle-tested. Any help would be appreciated.

-- Saurabh.


_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.



--
Gregory Collins <greg@gregorycollins.net>