Difficulty: Medium
Category: systems
Practice quant interview questions from top firms including Jane Street, Citadel, Two Sigma, DE Shaw, and other leading quantitative finance companies.
Topics: ipc, shared-memory, systems, c++17
In high-frequency trading, distributing market data from feed handlers to strategy engines with minimal latency is critical for execution performance. Inter-Process Communication (IPC) via shared memory eliminates kernel socket overhead, providing a highly efficient mechanism for data transfer between distinct processes. This problem involves implementing a lock-free ring buffer using POSIX shared memory primitives to achieve low-latency message passing. Task Implement a class SharedMemoryQueue
Practice this medium developer interview question on MyntBit - the all-in-one quant learning platform with 200+ quant interview questions for Jane Street, Citadel, Two Sigma, and other top quantitative finance firms.