<FromGitter>
<Blacksmoke16> where one implementation of the provider could be `Redis`
<FromGitter>
<Blacksmoke16> idt it would be really hard
<FromGitter>
<andrewc910> Hmm, okay, so we use redis. What should the collection look like? I am thinking store the user id, the endpoint if the request & timestamp. This way I can rate limit an entire user or rate limit one user on one endpoint. That about cover it?
<FromGitter>
<Blacksmoke16> redis has an ability to run lua scripts, at work we set it up to just run a lua script and return a value
<FromGitter>
<Blacksmoke16> where that value is the number of ms until they can make the next request
<FromGitter>
<Blacksmoke16> so that we make one call to redis, and get the value, versus hitting up redis multiple times for each value we need etc