On 07/03/2014 08:12 AM, Abdelkader Allam wrote:
Then to check the number of invite per seconds for CUSTOMER_A smoothed over a window of 10 seconds, you count the keys in the DB that starts with CUSTOMER_A ( KEYS CUSTOMER_A*) and divide it by 10.
Indeed. But one could also do this with a purely in-memory htable and obviate the need to talk to any outside service to begin with. :-)