The post discusses the distinction between multi-task and intra-task concurrency in async Rust and explores the usage of FuturesUnordered. It examines two patterns with FuturesUnordered and their advantages and disadvantages. The post also delves into deadlocks and the risks associated with synchronization primitives.
Table of contents
Two patterns with FuturesUnorderedDeadlocksBuffer data, not code?Synchronization & the borrow checkerSort: