About this question
Medium · Code Analysis · Quant Trader interview question · event-driven, memory-leak, performance, scalability
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?