๐Ÿงต C++ Concurrency and Parallelism
Home Chapters Examples Diagrams Bibliography GitHub โ†—
  1. Home
  2. Communications and Concurrency
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.

14 minRead โ†’
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++.

14 minRead โ†’
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.

16 minRead โ†’
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.

16 minRead โ†’
โ† Previous part Low Latency and High Throughput Next part โ†’ Correctness, Errors, and Debugging
C++ Concurrency and Parallelism
Tutorial content: CC BY 4.0. Sample code: Apache 2.0.
Source on GitHub โ†—  ยท  File an issue โ†—