Follow

@emersion
> If anyone knows about a lightweight simple database for deeply nested objects that ideally can be embedded in a Go executable, I’m all ears.

Could a high performance key-value store possibly solve your issue?

· · Web · 1 · 0 · 0

@tristan957 I'm not sure.

With a cold cache, a key-value store would eliminate the need to open and close many files (one per snapshot). Apart from that, still need to parse JSON.

With a warm cache, I have already-parsed snapshots with my current approach. With a key-value store, I'd still need to decode JSON.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!