Use serde_cbor for more compact serialization of transactions #189

Open
opened 2020-08-06 16:56:24 +00:00 by gburd · 0 comments
gburd commented 2020-08-06 16:56:24 +00:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: greg/mentat#189
No description provided.