<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 21.10.2019 11:01, Alexey Kazantsev
via Users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1571644870.152212066@f516.i.mail.ru">
<pre class="result--content--pre" style="-webkit-text-stroke-width:0px; color:#000000; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; letter-spacing:normal; line-height:1.2em; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; orphans:2; overflow:hidden; padding:0px; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-indent:0px; text-transform:none; user-select:text; widows:2; word-spacing:0px">But I’d like to add some extra high-availability for situations if
there will be some problems with connectivity between nodes.
At least to achieve the ability of each node to serve calls among
those users who are registered directly on it.
What is the best architecture? Maybe something else, not MongoDB?</pre>
</blockquote>
<p><tt>Hey Alexey,</tt></p>
<p><tt>MongoDB has worked fine for the federation use-cases I've
deployed,<br>
but only as long as you configure proper values for the connect
timeout<br>
setting, server selection timeout setting, and any other options
which<br>
may cause blocking when a Mongo cluster node is down [1].</tt></p>
<p><tt>PS: With the built-in MongoDB C library settings, the TCP
connect<br>
timeout is 10 seconds, which is abysmally large and will lead to<br>
unacceptable PDD values if any of your POPs become isolated.<br>
</tt></p>
<p><tt>Regards,<br>
</tt></p>
<p><tt>[1]: </tt><tt><a
href="https://docs.mongodb.com/manual/reference/connection-string/#timeout-options">https://docs.mongodb.com/manual/reference/connection-string/#timeout-options</a></tt></p>
<pre class="moz-signature" cols="72">--
Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
</body>
</html>