Lobsters

The hidden cost of mpsc channels

Recently I have been spending a lot of time analyzing and optimizing memory usage in our Rust reverse-proxy, agentgateway. One thing that repeatedly came up was a surprisingly large amount of memory allocated to innocent-looking Tokio mpsc channels. In my...

More stories

More stories load automatically as you scroll.