is there a way to set a members limit on a redis sorted set?
redis
Solution
I don't think you need to check the length, but have to cap it yourself:
`ZREMRANGEBYRANK [KEY] 0 -10`
Problem
Say I want to store the 10 most recent additions to a redis sorted set where the 11th addition pushes the 1st off the list. And until it reaches 10 items it just grows normally. Do I have to check the length on each addition myself and delete the 1st element?