<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
        {mso-style-name:x_msonormal;
        margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Henning<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">-- <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Henning Westerholt –
</span><span style="mso-fareast-language:EN-US"><a href="https://skalatan.de/blog/"><span lang="EN-GB" style="color:#0563C1">https://skalatan.de/blog/</span></a></span><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Kamailio services –
</span><span style="mso-fareast-language:EN-US"><a href="https://gilawa.com/"><span lang="EN-GB" style="color:#0563C1">https://gilawa.com</span></a></span><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:35.4pt"><b>From:</b> Patrick Karton <patrickarton@hotmail.com>
<br>
<b>Sent:</b> Wednesday, November 30, 2022 1:11 PM<br>
<b>To:</b> Henning Westerholt <hw@gilawa.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org><br>
<b>Subject:</b> RE: redis template config for topos module<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:12.0pt;color:black">we are using topos with redis backend.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:12.0pt;color:black">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).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:12.0pt;color:black">now above 120 caps retransmission comes time to time even if acceptable.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:12.0pt;color:black">We use HA with 2 kamailio so we need to synchronize sessions through redis. of course there is also DMQ i think.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:12.0pt;color:black">have you some numbers results or suggestion to go with redis or DMQ for sessions Synchronization ? <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;background:white"><span style="font-size:12.0pt;color:black">Thanks.<o:p></o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="margin-left:35.4pt;text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal" style="margin-left:35.4pt"><b><span style="color:black">De :</span></b><span style="color:black"> Henning Westerholt <<a href="mailto:hw@gilawa.com">hw@gilawa.com</a>><br>
<b>Envoyé :</b> mercredi 30 novembre 2022 12:48<br>
<b>À :</b> Kamailio (SER) - Users Mailing List <<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>><br>
<b>Cc :</b> Patrick Karton <<a href="mailto:patrickarton@hotmail.com">patrickarton@hotmail.com</a>><br>
<b>Objet :</b> RE: redis template config for topos module</span> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB">Hello,</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB"> </span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB">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.</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB"> </span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB">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.</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB"> </span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB">Cheers,</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB"> </span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB">Henning</span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB"> </span><o:p></o:p></p>
<p class="xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="xmsonormal" style="margin-left:70.8pt"><b>From:</b> sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org">sr-users-bounces@lists.kamailio.org</a>>
<b>On Behalf Of </b>Patrick Karton<br>
<b>Sent:</b> Wednesday, November 30, 2022 12:15 PM<br>
<b>To:</b> <a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<b>Subject:</b> [SR-Users] redis template config for topos module<o:p></o:p></p>
</div>
</div>
<p class="xmsonormal" style="margin-left:70.8pt"> <o:p></o:p></p>
<div>
<p class="xmsonormal" style="margin-left:70.8pt;background:white"><span style="font-size:12.0pt;color:black">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.</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal" style="margin-left:70.8pt;background:white"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal" style="margin-left:70.8pt;background:white"><span style="font-size:12.0pt;color:black">Thanks.</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>