qpdb / mentat

A persistent, relational store inspired by Datomic and DataScript.
https://mentat.rs/
Apache License 2.0
52 stars 2 forks source link

Use serde_cbor for more compact serialization of transactions #189

Open gburd opened 4 years ago

gburd commented 4 years ago

Currently datoms are serialized as json, which is nice for debugging but a bit of an overkill in practice.

We can save about 20% or so on storage and over-the-wire bandwidth costs for the client by serializing via serde_cbor. It would be nice to be able to switch easily between the two modes, but not necessary.