Concurrency model
A concurrency model is a set of abstractions and rules for representing, coordinating, scheduling, and executing computations that can progress concurrently.
Elixir in Action, Third Edition
A concurrency model is the set of abstractions and rules a programming language uses to represent and coordinate simultaneous computation.
- How it is used
- Uses lightweight isolated processes to preserve responsiveness, scalability, fault tolerance, and availability under concurrent workloads.
- How deep it goes
- Explains process isolation, parallelism, VM scheduling, preemption, and operating-system structure, while stopping short of detailed messaging mechanics.
- Examples
- Uses request handlers, background jobs, live updates, and per-player or per-session processes in an online multiplayer game.
- What you can do after
- Evaluate/understand how BEAM processes distribute work and contain failures in highly concurrent server systems.
Read how Elixir in Action, Third Edition explains concurrency model →
Go in Action, Second Edition
A concurrency model is the set of language abstractions and rules governing the execution and coordination of multiple computations.
- How it is used
- Frames Go’s approach to coordinating concurrent work in responsive, scalable applications.
- How deep it goes
- Explains CSP roots, goroutines, channels, synchronization, cancellation, patterns, and design cautions without descending into scheduler internals.
- Examples
- Uses simultaneous chores, goroutines, channels, worker pools, pipelines, fan-in/fan-out, and select-based event loops.
- What you can do after
- Apply it via goroutines, channels, synchronization tools, and context.Context to build and control concurrent workloads.
Read how Go in Action, Second Edition explains concurrency model →
Also covered in
What to know first
- threadA thread is a distinct sequence of execution with its own control flow and state, managed or scheduled by a processor, runtime, or operating system.
- coroutineA coroutine is a computation that can suspend and later resume execution while retaining its state, enabling cooperative transfer of control.
- microservice architectureMicroservice architecture is a software architectural style that structures an application as independently deployable services, typically organized around focused capabilities and communicating through defined interfaces.
- contractA contract is an agreed specification of the conditions, expectations, rights, or obligations that govern behavior or interactions between parties or software components.
Related concepts
- channeluses · A channel is a medium or logical pathway for conveying information, messages, or other content between sources and recipients.
- communicating sequential processincludes · Communicating Sequential Processes is a formal concurrency model in which independent sequential processes communicate through channels by exchanging messages.
- Gopart of · Go is a statically typed, compiled, general-purpose programming language with garbage collection and built-in support for concurrency.
- goroutineuses · A goroutine is a lightweight function execution unit managed by the Go runtime that runs concurrently with other program activity.
Questions about concurrency model
What is concurrency model?
A concurrency model is a set of abstractions and rules for representing, coordinating, scheduling, and executing computations that can progress concurrently.
Which Manning books explain concurrency model?
Elixir in Action, Third Edition and Go in Action, Second Edition.
What should I know before learning concurrency model?
Manning books that teach concurrency model usually introduce thread, coroutine, microservice architecture and contract first.
What kinds of concurrency model are there?
Kinds of concurrency model include communicating sequential process, CSP-based concurrency model and event-driven concurrency model.
What is concurrency model part of?
Concurrency model is part of Go. Go is a statically typed, compiled, general-purpose programming language with garbage collection and built-in support for concurrency.
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.

