-
-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
questionFurther information is requestedFurther information is requested
Description
A cache read by key now takes about ~30 seconds for my application.
A clue:
❯ sudo du -sh *
[sudo] password for blarsen:
15M content-v2
2.4G index-v5
0 tmp
Usage pattern: write to a small number of keys (<10) every few seconds. On program start, read those keys.
The cache is used to dump state to disk so that it can be read on program start after unclean exit.
The index file for each key is about 280M, over 1M entries.
It appears that you're keeping the entire history? Is this just for reliability reasons, because there doesn't appear to be an API to read older versions of a key. Is there a way to reliably trim history to get my speed back?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested