FAST (FIX Adapted for STreaming)

acronym

networkingprogramming

Kept in this browser · My desk

Stands for: FIX Adapted for STreaming, a template-driven compression protocol for market data; version 1.1 of 20 December 2006

A FIX Trading Community protocol that compresses streams of market data with templates, field operators and stop-bit encoded integers.

Developed by the community's Market Data Optimization Working Group (the community dates it to 2005; version 1.1 is of 20 December 2006), FAST sends little more than what changed: a template known to both sides, a presence map and operators such as copy, increment and delta let the receiver rebuild repeated values from earlier messages. The Chicago Mercantile Exchange holds a patent application on a limited element and offered users a covenant not to sue. B3 still publishes market data in FAST beside its binary SBE feed.

Bytes. Integers are big-endian groups of seven data bits, and the top bit of each byte marks the last byte of the field, the stop bit. A nullable integer is incremented by one when non-negative, and 0x80 is null. A decimal is an exponent then a mantissa, so 100.02 with exponent -2 is fe 00 4e 92: the zero group is needed because 0x4e alone would read as negative. An unchanged price under the copy operator costs one presence-map bit and no bytes. Trade-offs. FAST is compact but stateful: each value may depend on the dictionary state left by earlier messages, and its length varies with the value. B3 lists the absence of presence maps, dictionary contexts and variable-length integers among the reasons SBE is simpler and faster, and notes that SBE is not encumbered by patents. The specification's own appendix prints the bytes of -8193 as 0x73 0x3f 0xff in its hexadecimal column, where its binary column and a computation give 0x7f 0x3f 0xff.

Also known as: fix adapted for streaming, fix fast, fast protocol, fast 1.1, fast 1.2, protocolo fast

← Back to F Back to the glossary