About this question

Shared Mutex for Read-Heavy Data

Medium · concurrency · Quant Developer interview question · c++, concurrency, low-latency, data-structures

In quantitative finance, reference data such as ticker symbol mappings or static instrument properties are read millions of times per second by pricing components but updated infrequently. Utilizing a standard mutually exclusive lock for these read-heavy data structures causes severe contention and latency spikes. Implementing a Reader-Writer lock resolves this by allowing multiple threads to read concurrently while ensuring exclusive access during updates. Task Implement a thread-safe SymbolTa