Systems and low latency
You keep one million live orders in a hash map at 48 bytes an entry.
AppliedNumeric answer
You keep one million live orders in a hash map at 48 bytes an entry. How much memory, in megabytes?
Answer with a number. Fractions, powers and expressions like 23/6 or C(52,5) are read correctly in practice.
The worked solution is in Premium
The answer, the full working and the one idea to take away – for this and all 1,322 questions in the bank. Answer it in practice and your working is marked, with a known mistake named when you make one.
Report an issue with this question
Of the kind reported at
More systems and low latency questions
- Designing an order book, part 3 of 3Advanced · Premium
- An array-based book pre-allocates one slot per price tick.Foundation · Premium
- You join a price level behind 800 shares.Foundation · Premium
- Designing an order book, part 1 of 3Foundation · Premium
- A buy order for 500 at a limit of $100.02 meets offers of 200 at $100.00, 100…Applied · Premium
- Designing an order book, part 2 of 3Applied · Premium