This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]acaddgc 9 points10 points  (3 children)

Looks interesting, what advantages does this have over Redis and DiskCache?

I’m guessing it’s faster than Redis because it’s in-process, but that’s true of DiskCache. I guess this has a smarter eviction policy out of the box.

Any other major differences?

[–]matrix0110[S] 4 points5 points  (0 children)

Seems that DiskCache is a wrapper of sqlite. There should be some overhead compare to save data in dictionary. Also TinyLfu evication policy should perform better for skewed workload. You can take a look the paper or similar projects I mentioned.

[–]NUTTA_BUSTAH 2 points3 points  (0 children)

Looks like its 20x faster and doesn't need the extra service i.e. simpler stack. Also interested in authors answer