@emersion
> and gamja will automatically when the connection to the IRC server is lost

I believe a word is missing :)

@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?

@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
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!