[bisq-network/bisq] Serialisation format for Bisq 2 (Misq) (Discussion #5927)

chimp1984 notifications at github.com
Sun Dec 19 14:20:16 CET 2021


I did not looked closer, but when searching for comparisons between Protocol Buffers and Thrift I stumbled over those:

- "Protobuf serialized objects are about 30% smaller than Thrift." [1]
- "Protobuf is faster when using "optimize_for = SPEED" configuration" - this is default now [1]

https://old.floatingsun.net/articles/thrift-vs-protocol-buffers/index.html
Benchmarks: https://github.com/eishay/jvm-serializers/wiki/ (though benchmarks have to be taken with care, depends a lot of application context)

So overall it seems Protocol Buffers and Thrift are not that much far apart. 

Another interesting one might be [Kryo](https://github.com/EsotericSoftware/kryo). But have not looked closer and seems a smallish project which comes with the mentioned security risks.

Apache Avro seems to be favouring dynamic typing:
["The main difference between Avro and Thrift is that Thrift is statically typed"](https://stackoverflow.com/questions/40968303/thrift-avro-protocolbuffers-are-they-all-dead)

[1] https://stackoverflow.com/questions/69316/biggest-differences-of-thrift-vs-protocol-buffers

-- 
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/discussions/5927#discussioncomment-1843191
You are receiving this because you are subscribed to this thread.

Message ID: <bisq-network/bisq/repo-discussions/5927/comments/1843191 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211219/28cd70a3/attachment.htm>


More information about the bisq-github mailing list