TODO: Put this section somewhere. Discuss input_stream and output_stream, how they assume one reader / writer - no parallel reads (otherwise we don’t know anything about order - if you must do this use a semaphore to serialize). Talk about underlying layers being parallel anyway - input from network continues to process TCP packets in parallel, and input from disk pre-fetches more chunks in parallel.
Back to table of contents. Previous: 26. Seastar::thread. Next: 28. SIGINT handling.