Flume vs `tokio::sync::broadcast`?

I can't find any benchmarks comparing the two. It seems like they're both mpmc implementations with Flume supporting more features. Does anyone have opinions on which to use?

They're not the "same" mpmc. Both supports M senders and N receivers, but if you send a message in flume channel one of the N receivers would receive it while with tokio broadcast all N receivers would receive the message.

3 Likes

Oh... Thanks for that

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.