What is SBE?
A standard for encoding and decoding FIX and other application protocols in Binary format.
What does SBE do?
- Fast encoding /decoding of messages at presentation layer
- Makes use of native CPU level instructions
- Precision of Decimal numbers/time stamps in native binary format
- Differentiates fixed length character arrays from variable length strings
- Preference for fixed position/fixed length fields
How Fast is SBE?
30 Million + messages encoded/decoded on a single thread per second
Average Latency?
30 nanoS per message
What is a Nano Second?
1 billionth of a second
= 0.000 000 001 seconds
Why SBE?
- Encoding/Decoding messages often uses more CPU time than business logic
- FIX requires the management of a significant volume of variable length elements which must be sequentially processed
- SBE’s fixed length fields can be processed much faster
- Using binary also keeps bandwidth down when sending messages over a WAN