Using gRPC for (local) inter-process communication – F. Werner’s Research Page

A full-featured RPC framework for IPC may seem excessive for processes running on the same machine, but it’s beneficial for public APIs and schema-based serialization. FlashCam software on DAQ servers has an intricately structured high-level architecture with special processes handling control and monitoring. A State Supervisor orchestrates interconnected subsystems and provides a single entry point for camera control. The article delves into the latency overhead of gRPC for local IPC, comparing it to traditional methods like exchanging C structs. The gRPC framework was chosen due to its efficient streaming and serialization capabilities, making it suitable for projects based on C/C++.

https://www.mpi-hd.mpg.de/personalhomes/fwerner/research/2021/09/grpc-for-ipc/

To top