返回题库

Quant Interview Practice Questions

专题
concurrency
难度
L2
来源
MyntBit

题目详情

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