<aside>
💡
Thing to know — queues are faster than db calls.
</aside>
Benefits of decoupling the orderbook

- Can horizontally scale the
primary backend
- Primary backend can directly talk to db to take care of simpler calls like signup/signin/get existing orders etc.
- If orderbook crashes, rest of the backend still remains intact
Problems of decoupling the orderbook
- Issue still remains the same. The in memory orderbook will get lost if the orderbook ever crashes. We’ll come to its fix later