07-27-2023, 12:33 PM
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?
Do I have to check the length on each addition myself and delete the 1st element?