THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
packer .packString("select * from cars where year > ? and seats = ?") .packArrayHeader(2) .packInt(2005) .packInt(2); |
Result is 54 bytes:
For comparison, current Ignite binary protocol encodes the same data in 71 bytes, and takes twice as much 2x time to do so (see benchmarks linked below - writeSqlQueryIgnite and writeSqlQueryMsgPack).
The goal is to find an existing serialization format that satisfies the following requirements:
...