Someone should really implement an interval module.<p>This custom implementation was pretty good: <a href="http:&#x2F;&#x2F;blog.togo.io&#x2F;how-to&#x2F;adding-interval-sets-to-redis&#x2F;" rel="nofollow">http:&#x2F;&#x2F;blog.togo.io&#x2F;how-to&#x2F;adding-interval-sets-to-redis&#x2F;</a>