[Haskell-cafe] Bug-free, leak-free, battle-tested library for broadcast channels?

David Turner dct25-561bs at mythic-beasts.com
Wed Jan 25 04:04:19 UTC 2017


The implementation in STM works well and certainly ticks the battle-tested
box:

https://hackage.haskell.org/package/stm-2.4.4.1/docs/Control-Concurrent-STM-TChan.html#v:newBroadcastTChan

Cheers,



On 23 January 2017 at 10:52, Saurabh Nanda <saurabhnanda at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170125/733ca9df/attachment.html>


More information about the Haskell-Cafe mailing list