Module 7 · Interview Prep: A Live Market Data Feed Lesson 49 of 54

The Streaming API

One WebSocket, subscribe, a snapshot then updates, and sequence numbers in place of keys.

2:20 clip1:52:58–1:55:19 in the full courseWatch on YouTube

Transcript

31 sentences · select one to jump there

Check your understanding

After a reconnect, the app replays its whole subscribe list. What happens to symbols it was already subscribed to?

Choose one answer

Lesson notes

The rule

Subscriptions are idempotent, and the sequence number plays the key's role: drop anything at or below what you've applied