I want to show three rankings: overall, last 30 days and last 7 days.
I decided to use redis although I've never worked with it before.
The overall rankings seem pretty easy:
Every time a user registers I create a new member to my collection and increase the counter every time he gets a new point.
Then I can get the rank with ZRANK
But how can I get the rank with the points the user got in the last 7 days?