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 →
What to know first
- throughputThroughput is the rate at which a system processes or completes work, data, or requests over a specified period.
Related concepts
- concurrent accesscontrasts with · Concurrent access is overlapping access to shared data or resources by multiple operations or execution contexts.
- restcontroller annotationimplemented by · @RestController is a Spring annotation that marks a class as a web controller whose handler return values are written directly to HTTP response bodies.
- 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.
- Spring Bootused by · Spring Boot is an open-source framework in the Spring ecosystem that simplifies building and running stand-alone, production-ready applications through auto-configuration and convention-based defaults.
- 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 or tasks through which work progresses toward a defined outcome.
Questions about serialization
What is serialization?
Serialization is the coordination of potentially concurrent operations so that specified operations occur one at a time in a defined order.
Which Manning books explain serialization?
Elixir in Action, Third Edition and C++ Concurrency in Action, Second Edition.
What should I know before learning serialization?
Manning books that teach serialization usually introduce throughput first.
What is the difference between serialization and concurrent access?
Serialization is the coordination of potentially concurrent operations so that specified operations occur one at a time in a defined order. Concurrent access is overlapping access to shared data or resources by multiple operations or execution contexts.
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.

