Event Handler Memory Leak - Quant Trader Interview Question
Difficulty: Medium
Category: Code Analysis
Practice quant interview questions from top firms including Jane Street, Citadel, Two Sigma, DE Shaw, and other leading quantitative finance companies.
Topics: event-driven, memory-leak, performance, scalability
Problem Description
A high-frequency trading application uses an event-driven architecture. A component registers a callback function with an event dispatcher to receive real-time market data updates. However, due to a coding oversight, the component never unsubscribes or deregisters the callback when it is no longer needed. The application runs continuously throughout the trading day.
What is the most likely consequence of this missing unsubscribe over time?
Practice this medium trader interview question on MyntBit - the all-in-one quant learning platform with 200+ quant interview questions for Jane Street, Citadel, Two Sigma, and other top quantitative finance firms.