返回题库

Quant Interview Practice Questions

专题
concurrency
难度
L4
来源
MyntBit

题目详情

In high-frequency trading, read-dominated configuration data such as risk limits or symbol mappings must be accessed by critical-path threads without blocking. The Left-Right concurrency pattern achieves this wait-free read access by maintaining two data instances, allowing readers to proceed unhindered while a writer coordinates updates in the background. Task Implement a simulator for the Left-Right concurrency pattern that calculates the exact completion time of each write operation. You are