I want to use Redis with java Redisson library. I have a task to store items in a sorted order, based on some item's field. There are three main constraints:
- Sorting field of items could be updated quite often. There could be up to 25k updates per second for the whole collection.
- I need to get an actual rank of each item in my collection very fast (up to 5 ms).
- The collection size could be up to 25 millions items.
Is it ok to use Redissons ScoredSortedSet.rank method with such constraints, or it is not suitable and there is a better solution?