Re:Redis 2.8.9 is out
by dvirsky on Tuesday April 22, 2014 @11:00AM
(#7628034)
Yep, that's a solid approach, although it might be limiting to some people. Also, maybe having something like ZRANGEBYLEXSTORE would also allow caching and sorting of the results by allowing quick ZINTER etc.
[ Parent
| on HN ]
Agreed on both, the algorithm proposed is not perfect as it is discrete in nature, and storing results makes a lot of sense for top-queries since this is the kind of application where 5 minutes old is "good enough" for most users.