You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you use sorted sets to sort of pre-run a query?
Say you have a lot of products on your website and a lot of information about each product, but you often have to provide products within a price range. Could you duplicate some of the information about your products by having a zset with values equal to product ids (or something) and the scores being the values and be able to retrieve the relevant products quickly?
Score/Leaderboards are a good use-case for Sorted Sets.
http://www.tutorialspoint.com/redis/redis_sorted_sets.htm
We are using them for ordering our Work Queue in arana.
The text was updated successfully, but these errors were encountered: