Quant Interview Practice Questions
题目详情
Resource isolation via containerization is critical in high-frequency trading infrastructure to prevent single-strategy memory leaks from destabilizing shared systems. An Out-Of-Memory (OOM) controller enforces strict resource limits by prioritizing the termination of low-priority or high-consumption processes during contention. This simulation models the logic used by Linux cgroups to maintain system stability under heavy load. Task Implement a class MemoryController that manages a fixed amoun