3 ms·
Also, comment out all `SAVE` to disable snapshotting so you can use the full machine RAM. Otherwise, you have to limit Redis to 50% RAM usage because Redis dupl
by welder 3y ago
Also, comment out all `SAVE` to disable snapshotting so you can use the full machine RAM. Otherwise, you have to limit Redis to 50% RAM usage because Redis duplicates the dataset in memory when saving to disk, wasting half the machine's RAM. If you go over 50% RAM usage with snapshotting enabled you risk triggering bgsave error.
Finally, check out Redis-compatible alternatives that don't require the data set to fit in RAM. [0]
0: https://github.com/ideawu/ssdb https://github.com/ideawu/ssdb