Design an order relay service in front of a broker API

0
Practice

Clients send buy and sell orders with a deadline to your service, which forwards them to a third-party broker, tracks each order until it fills, and cancels whatever has not filled by its deadline. Cover the order state machine, polling versus callbacks, retries and what happens when the broker is slow or down.

DatabricksSystem designMediumLast asked Apr 2026
No answer yet. Write the first one; the best answer gets endorsed.