<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Pat,<br>
<br>
It looks to me more like a mongo question rather than opensips :)
. Even if I'm not an mongo expert, I guess you can avoid that
file-based distribution of the DB and rely on the replica set -
import the data into Mongo via the writable node and next to each
opensips instance to have a mongo node keeping a read-only set of
data (in the same replica set).<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
</pre>
<div class="moz-cite-prefix">On 11/28/2017 08:10 PM, Pat Burke
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:72779441d693f311451c236c6ff9a2a3@voxtelesys.com">
<title></title>
<div class="iw_mail" dir="ltr">
<p style="margin:0;">Hello,</p>
<p style="margin:0;"><br>
</p>
<p style="margin:0;">We are looking at using the cachedb_mongodb
module to access a large cache of data (100+ million records)
that we wanted to do the following</p>
<ul>
<li>on a separate server, create a "pre-loaded" cache mongodb
file, and then copy the file to each opensips server so that
the data is accessed locally</li>
<li>access the mongodb "cache" using the cache_raw_query on
the calls as needed</li>
<li>on a nightly basis, replace the build an updated (on a
separate server) and replace the cache mongodb file on the
local server</li>
</ul>
<div>Can I just replace the file while they system is running?
Do I have to a replicaSet to have auto failover? Any
recommendation?</div>
<div><br>
</div>
<div class="signature">
<div style="font-family: arial, helvetica, sans-serif;
font-size: 16px;"><span data-mce-style="color: #808080;
font-family: arial,helvetica,sans-serif; font-size: 11pt;"
style="color: rgb(128, 128, 128); font-size: 11pt;">Regards,</span></div>
<div style="font-family: arial, helvetica, sans-serif;
font-size: 16px;">
<span data-mce-style="color: #808080; font-family:
arial,helvetica,sans-serif; font-size: 11pt;"
style="color: rgb(128, 128, 128); font-size: 11pt;"><strong>Pat
Burke</strong></span><br>
<br>
<div><img alt="Voxtelesys | solutions to grow your business"
src="http://www.voxtelesys.com/images/img/Voxtelesys-logo-2016-179x49-email-tagline.png"
data-mce-src="http://www.voxtelesys.com/images/img/Voxtelesys-logo-2016-179x49-email-tagline.png"
data-mce-style="color: #00274c; font-family:
arial,helvetica,sans-serif; font-size: 16pt;
font-weight: bold; text-decoration: none;" style="color:
rgb(0, 39, 76); font-size: 16pt; font-weight: bold;"
moz-do-not-send="true"></div>
<div><span data-mce-style="color: #999999; font-size: 8pt;"
style="color: rgb(153, 153, 153); font-size: 8pt;">______________________________________________________________________________________</span></div>
<div><span data-mce-style="font-size: 11pt; font-family:
arial,helvetica,sans-serif; color: #808080;"
style="font-size: 11pt; color: rgb(128, 128, 128);">Direct:
(402) 403-5121 <span data-mce-style="font-size: 14pt;"
style="font-size: 14pt;">|</span> Cell: (402)
443-8929 <span data-mce-style="font-size: 14pt;"
style="font-size: 14pt;">|</span> Email: <a
href="mailto:pat@voxtelesys.com"
moz-do-not-send="true">pat@voxtelesys.com</a></span></div>
<div><span data-mce-style="font-size: 11pt; font-family:
arial,helvetica,sans-serif; color: #808080;"
style="font-size: 11pt; color: rgb(128, 128, 128);">1801
23rd Avenue North <span data-mce-style="font-size:
14pt;" style="font-size: 14pt;">|</span> Suite 217
<span data-mce-style="font-size: 14pt;"
style="font-size: 14pt;">|</span> Fargo, North Dakota
58102</span></div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>