Skip to content

Memory footprint Redis vs Dragonfly #185

Answered by romange
rohanverma94 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, based on my experience snapshotting in Redis is one of the serious design problems Redis has. I've expanded on that in my blog as well, btw. In short, this approach lacks back-pressure mechanisms: child process and OS allocate physical memory without parent process being in control. being in control is what differentiates database software from all other programs. And Redis is not in control, unfortunately.

Make the following test with dragonfly: run memtier_benchmark with -d 1024 --key-maximum=somebignum and try to fill up all your computer memory. At some point, DF will just refuse to write with error : "out of memory". Redis will crash. It looks like a small thing but it's not. Es…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@rohanverma94
Comment options

Comment options

You must be logged in to vote
3 replies
@rohanverma94
Comment options

@romange
Comment options

@rohanverma94
Comment options

Answer selected by rohanverma94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants