Interprocess communication
Interprocess communication is the exchange of data or coordination signals between independently executing processes through defined mechanisms.
Microservices Patterns, Second Edition
Interprocess communication is the exchange of data or control between independently executing processes through mechanisms such as network calls or message passing.
- How it is used
- Uses IPC to implement collaboration across microservice process boundaries and connect clients to services.
- How deep it goes
- Compares communication styles and payload formats, and explains resilience, discovery, and transaction outbox choices.
- Examples
- Uses REST, gRPC, Kafka, RabbitMQ, and a transaction outbox to illustrate IPC mechanisms and coordination.
- What you can do after
- Evaluate/understand IPC alternatives against availability, coupling, resilience, and messaging requirements.
Read how Microservices Patterns, Second Edition explains interprocess communication →
Grokking Concurrency
Interprocess communication (IPC) comprises operating-system mechanisms that allow processes to exchange data and coordinate execution.
- How it is used
- Explains how processes and threads exchange data and synchronize while preserving process isolation.
- How deep it goes
- Compares shared memory and message passing, including channel copying costs and practical mechanism trade-offs.
- Examples
- Illustrates communication with a rubber-duck pipe, a Python worker queue, and a socket sender and receiver.
- What you can do after
- Evaluate IPC approaches for data volume, synchronization, communication direction, and scalability.
Read how Grokking Concurrency explains interprocess communication →
Fast Python: High performance techniques for large datasets
- How it is used
- Coordinates work and data exchange between independently executing processes.
- How deep it goes
- Explains Plasma object storage and queue-based worker communication, including serialization, memory, and polling constraints.
- Examples
- Uses Arrow Plasma to share CSV tables and queues to dispatch MapReduce jobs and return results.
- What you can do after
- Apply Arrow Plasma or Python multiprocessing queues to share data or dispatch work, accounting for memory and serialization costs.
Also covered in
- C++ Concurrency in Action, Second Edition
- Designing Deep Learning Systems: A guide for software engineers
- Podman in Action: Secure, rootless containers for Kubernetes, microservices, and more
- Rust in Action: Systems programming concepts and techniques
What to know first
- CPUA central processing unit (CPU) is a computer processor that executes program instructions and performs general-purpose computational operations.
- distributed systemA distributed system is a computing system whose components run across multiple networked processes or machines and coordinate through communication.
- multithreadingMultithreading is the execution of multiple threads of control within a program, concurrently through interleaving or simultaneously.
- lockingLocking is a synchronization technique that controls concurrent access to a shared resource or protected operation.
Related concepts
- network socketused by · A network socket is a communication endpoint through which processes send and receive data, typically over a network.
- Plasma serverused by · Plasma is an in-memory object store and server associated with Apache Arrow that enables processes to exchange objects efficiently.
- service collaboration patternused by · A recurring architectural solution for coordinating interactions and distributed operations among services.
- signalincludes · An operating-system signal is an asynchronous notification delivered to a process to report an event or request handling.
- communicationkind of · Communication is the exchange of information, meaning, or signals between people, groups, agents, devices, or software components.
Questions about interprocess communication
What is interprocess communication?
Interprocess communication is the exchange of data or coordination signals between independently executing processes through defined mechanisms.
Which Manning books explain interprocess communication?
Microservices Patterns, Second Edition, Grokking Concurrency and Fast Python: High performance techniques for large datasets.
What should I know before learning interprocess communication?
Manning books that teach interprocess communication usually introduce CPU, distributed system, multithreading and locking first.
What kinds of interprocess communication are there?
Kinds of interprocess communication include signal.
What is interprocess communication a kind of?
Interprocess communication is a kind of communication. Communication is the exchange of information, meaning, or signals between people, groups, agents, devices, or software components.
What is interprocess communication also called?
Interprocess communication is also called IPC or inter-process communication.
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.


