About this question

Shared Memory Config Store

Medium · systems · Quant Developer interview question · c++, systems, ipc, low-latency

High-frequency trading systems require ultra-low latency access to dynamic configuration parameters like risk limits and strategy flags across multiple processes. POSIX shared memory provides an efficient mechanism for this by mapping memory segments directly into a process's address space, bypassing kernel overhead for subsequent read and write operations. Task Implement the ConfigStore class to manage a fixed-size array of double values in POSIX shared memory. The implementation must handle s