The Unreasonable Effectiveness of Simple Binary Encoding (SBE)
yafetn.github.io
The Unreasonable Effectiveness of Simple Binary Encoding (SBE)
1–10 of 11 posts
Re: The Unreasonable Effectiveness of Simple Binary Encoding (SBE)
#2Re: The Unreasonable Effectiveness of Simple Binary Encoding (SBE)
#3Re: The Unreasonable Effectiveness of Simple Binary Encoding (SBE)
#4What is unreasonable here?
Honestly I can't see what the point of the post is. If you create a protocol that is optimized for bytes, you will get a protocol that is optimized for bytes. It's a trivial tautology.
Re: The Unreasonable Effectiveness of Simple Binary Encoding (SBE)
#5Re: The Unreasonable Effectiveness of Simple Binary Encoding (SBE)
#6The difference with SBE vs JSON is there's no need to serialize/deserialize anything. In SBE you literally just write in the value and read the value. You aren't turning bytes into text, which takes time and might require intermediate state (depends on what you're implementing).
It's almost like a non-format, because what could be simpler?
Re: The Unreasonable Effectiveness of Simple Binary Encoding (SBE)
#7I've used SBE and Aeron, can recommend. The difference with SBE vs JSON is there's no need to serialize/deserialize anything. In SBE you literally just write in the value and read the value. You aren't turning bytes into text, which takes time and might require intermediate state (depends on what you're implementing). It's almost like a non-format, because what could be simpler?
Something that specifies endianness and field types?
Re: The Unreasonable Effectiveness of Simple Binary Encoding (SBE)
#8Re: The Unreasonable Effectiveness of Simple Binary Encoding (SBE)
#9Re: The Unreasonable Effectiveness of Simple Binary Encoding (SBE)
#10I've used SBE and Aeron, can recommend. The difference with SBE vs JSON is there's no need to serialize/deserialize anything. In SBE you literally just write in the value and read the value. You aren't turning bytes into text, which takes time and might require intermediate state (depends on what you're implementing). It's almost like a non-format, because what could be simpler?
> It's almost like a non-format, because what could be simpler? Something that specifies endianness and field types?