The hidden cost of mpsc channels

180 points _howardjohn 23 comments

While exploring some memory usage/optimizations, I repeatedly found Tokio `mpsc` channels as the root cause of some of our memory issues. The reason why was surprising to me so wanted to share!