Very true Alex, didnt knew about htables, just checking about it, very interesting :) The added value of Redis though is that other scripts running outside of Kamailio can interact with it and potentially interact with kamailio, can an external script have access to htables in memory db ?
On Thu, Jul 3, 2014 at 12:14 PM, Alex Balashov abalashov@evaristesys.com wrote:
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
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users