Quant Interview Practice Questions
题目详情
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