Premium

Order Book Over a Socket: Snapshot, Sequence and Burst

By FrontendAtlas Editorial · Updated Nov 19, 2026

Challenge summary

Build an order book from a snapshot and a socket of deltas, recover from a lost message, and keep the screen calm through a burst. The checks replay four exchange scenarios, from a steady feed to 720 messages in about 1.2 seconds.

What you'll practice

  • Merge a snapshot with messages that arrived before it, using sequence numbers.
  • Detect a lost message and resync without blanking the book.
  • Keep a fast feed off the render path and draw it on a fixed cadence.
  • Close the socket and every timer when the scenario changes or the page closes.

What Premium unlocks

Premium unlocks the runnable workspace, behavioral checks, implementation walkthrough, and edge-case discussion. It also runs as an Interview Pressure Mode, in rounds that add requirements the way an interviewer does.

Free related practice

Public interview reports: interview.tw (May 2022) · Binance frontend interview questions

Upgrade to FrontendAtlas Premium to unlock this challenge. Already upgraded? Sign in to continue.

Premium is $24 a month or $99 a year, less in many countries.