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. :-)
--
Alex Balashov - Principal
Evariste Systems LLC
Tel: +1-678-954-0670
Web:
http://www.evaristesys.com/,
http://www.alexbalashov.com/
Please be kind to the English language:
http://www.entrepreneur.com/article/232906