Serialization
Serialization is the coordination of potentially concurrent operations so that specified operations occur one at a time in a defined order.
Elixir in Action, Third Edition
Serialization is the handling of competing operations one at a time in a defined sequential order.
- How it is used
- Frames process-based state management and exposes the scalability cost of funneling many clients through one server.
- How deep it goes
- Shows message-loop implementation and a production bottleneck, but stops short of detailed ordering guarantees.
- Examples
- Uses a GenServer key-value store, benchmark results, and a TodoServer backed by a TodoList.
- What you can do after
- Build it from scratch with a receive loop that applies requests sequentially and carries forward updated state.
Read how Elixir in Action, Third Edition explains serialization →
C++ Concurrency in Action, Second Edition
Serialization is the restriction of concurrent operations so that they execute in a sequential order rather than simultaneously.
- How it is used
- Frames serialization as a design constraint when building lock-based concurrent data structures.
- How deep it goes
- Defines mutex-based serialization and gives design questions for reducing it, while deferring lock-free data structures.
- What you can do after
- Evaluate lock scope, mutex partitioning, and operation-level protection to reduce serialization while preserving operational semantics.
Read how C++ Concurrency in Action, Second Edition explains serialization →
Related concepts
- sequence pointimplemented by · A sequence point is a point in C program evaluation at which specified preceding evaluations and side effects are complete before subsequent evaluation proceeds.
- concurrent accesscontrasts with · Concurrent access is the overlapping use of shared data or resources by multiple operations or execution contexts.
- Agentused by · Agent is an Elixir and OTP abstraction that manages mutable state in a process through synchronous or asynchronous operations.
- workflowimplemented by · A workflow is an organized sequence of coordinated activities, tasks, or decisions through which work progresses toward an outcome.
- top-kcontrasts with · Top-k is a selection method that returns up to k items with the highest values or ranks according to a specified measure.
- mutexproduced by · A mutex is a synchronization primitive that provides controlled exclusive access to shared data or another resource.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

