Russell shares principles for optimizing Tokio async applications based on discussions at RustConf, emphasizing the balance between fairness and batching. Key insights include determining if a performance problem actually exists before optimizing, using scheduling latency metrics for diagnosis, and yielding frequently to reduce latency while batching to improve throughput. The post notes that most performance issues stem from application code rather than Tokio itself.
Russell shares principles for optimizing Tokio async applications based on discussions at RustConf, emphasizing the balance between fairness and batching, and explaining how to diagnose real performance problems using metrics like scheduling latency rather than assuming issues exist.
TailTalk is a modern async AppleTalk stack written in Rust and Tokio that enables communication with vintage Macs and printers on Linux, macOS, and Windows without kernel drivers. It provides packet parsers and async APIs for major AppleTalk protocols, supports file sharing via AFP, printer sharing via AirPrint/IPP, and works with TashTalk USB devices for LocalTalk networks.