Skip to content

Glossary: System Design Basics in Rust

mpsc channel

Also written: mpsc, channel, sync_channel, try_send

Rust's standard queue between threads, with a sending end and a receiving end. `sync_channel(n)` limits it to n messages, and `try_send` fails at once if it's full.

Where the book teaches it

Related terms

Message queueBack pressure