@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.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!