[SR-Users] redis template config for topos module

Henning Westerholt hw at gilawa.com
Wed Nov 30 14:26:33 CET 2022


Hello,

the db_text module is not really meant for write access, its is only designed for e.g. ACLs or other similar small read-only information. So using redis was the right decisions of course.

DMQ will not synchronize any topology hiding data, so this will be not usable from topos. There is also the topoh module, which works without any external persistence, but will not offer all the benefits that topos provide.

Regarding the performance: I would apply the usual process, try to identify bottlenecks during load. Or even better, try to reproduce it in a lab environment where you can then tune redis and/or Kamailio.

Cheers,

Henning

--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com<https://gilawa.com/>

From: Patrick Karton <patrickarton at hotmail.com>
Sent: Wednesday, November 30, 2022 1:11 PM
To: Henning Westerholt <hw at gilawa.com>; Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: RE: redis template config for topos module

we are using topos with redis backend.

at first we started  using topos with db_text but we noticed too much retransmission on kamailio so we switched to redis and retransmission disappeared (80 caps 5000 concurrent calls with redis).

now above 120 caps retransmission comes time to time even if acceptable.


We use HA with 2 kamailio so we need to synchronize sessions through redis. of course there is also DMQ i think.


have you some numbers results or suggestion to go with redis or DMQ for sessions Synchronization ?

Thanks.
________________________________
De : Henning Westerholt <hw at gilawa.com<mailto:hw at gilawa.com>>
Envoyé : mercredi 30 novembre 2022 12:48
À : Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>>
Cc : Patrick Karton <patrickarton at hotmail.com<mailto:patrickarton at hotmail.com>>
Objet : RE: redis template config for topos module


Hello,



we are using topos and redis in a few customer installations. So far we did not had the necessitity to tune it to certain performance requirements from Kamailio side. It worked out of the box. I am of course interested what other people can share in this regards.



For the dialog module it's another question, as one usually needs to use the db_redis module with dialog database backend. When using a local redis server, my suggestion would be to always skip the database and just use the in-memory mode of dialog module in the first place, as there are no benefits in this setup. Of course for a remote redis server if could be benefitial in some scenarios, like restart of dialog module.



Cheers,



Henning





From: sr-users <sr-users-bounces at lists.kamailio.org<mailto:sr-users-bounces at lists.kamailio.org>> On Behalf Of Patrick Karton
Sent: Wednesday, November 30, 2022 12:15 PM
To: sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
Subject: [SR-Users] redis template config for topos module



Hello not a usual question but i would like to know if somebody using topos module with redis backend can provide me an optimized redis conf for redis for using it topos module. and possibly also when using it with dialog module.



Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20221130/88997e50/attachment.htm>


More information about the sr-users mailing list