Part 6
4 chapters
Communications and Concurrency
Communication models, the actor model and channels, concurrent REST, and concurrent gRPC.
Doc 22
Communication Models
Shared memory versus message passing, the concrete IPC mechanisms available on Linux, D-Bus as a higher-level bus, and a decision guide for picking among them.
Doc 23
The Actor Model and Channels
Actors and mailboxes, CSP-style channels, confinement as a design discipline, and how to write no-shared-state message passing in C++.
Doc 24
Concurrent REST Endpoints
Thread-per-request versus async handlers, a minimal Boost.Asio/Beast server, and the back-pressure and overload-shedding strategies that keep it alive under load.
Doc 25
Concurrent gRPC Services
The async gRPC completion-queue API, streaming RPCs, and the thread-pool sizing decisions that determine how many requests a gRPC server can serve concurrently.