Snapshot recovery

term

networking

Kept in this browser · My desk

Rebuilding an order book after lost packets or a late start from a periodic full-state message that is valid as of a stated sequence number of the incremental feed, then applying only the incrementals that follow it.

B3's binary feed carries a snapshot stream that loops through a channel's instruments; each snapshot states the incremental sequence it reflects in LastMsgSeqNumProcessed (369) and LastSequenceVersion (37084), and B3 reserves it for large-scale recovery such as a major outage or a late joiner. Its FAST feed also offered a TCP Replayer, which B3 says to use only if few messages were lost; the binary feed has no TCP recovery. CME Group limits TCP replay to 2,000 packets from the last 24 hours.

Procedure. Queue the incrementals while collecting snapshots, discard every queued message at or below the snapshot's sequence number, apply the rest, then leave the snapshot group; treat an instrument with no snapshot as an empty book. Shortcuts. RptSeq (83), a per-instrument sequence, tells a client following few instruments whether a lost packet touched them. Silence. B3's binary feed sends a Sequence message after one second without data, and a client that hears nothing for three intervals must treat its books as inconsistent. CME Group says that after an unrecovered gap all books may be wrong.

Also known as: snapshot recovery, market data snapshot, snapshot feed, late joiner recovery, recuperação por snapshot

← Back to S Back to the glossary