liveBook · Manning

Interprocess communication

Also called IPC, inter-process communication

Interprocess communication is the exchange of data or coordination signals between independently executing processes through defined mechanisms.

How 3 Manning books explain it

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.

Read how Fast Python: High performance techniques for large datasets explains interprocess communication →

Also covered in

What to know first

Related concepts

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.