[OpenSIPS-Users] Pre-load mongodb cache

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Dec 7 04:15:05 EST 2017


Hi Pat,

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).

Regards,

Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer
   http://www.opensips-solutions.com

On 11/28/2017 08:10 PM, Pat Burke wrote:
>
> Hello,
>
>
> 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
>
>   * 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
>   * access the mongodb "cache" using the cache_raw_query on the calls
>     as needed
>   * on a nightly basis, replace the build an updated (on a separate
>     server) and replace the cache mongodb file on the local server
>
> Can I just replace the file while they system is running? Do I have to 
> a replicaSet to have auto failover?  Any recommendation?
>
> Regards,
> *Pat Burke*
>
> Voxtelesys | solutions to grow your business
> ______________________________________________________________________________________
> Direct: (402) 403-5121 |   Cell: (402) 443-8929 |   Email: 
> pat at voxtelesys.com <mailto:pat at voxtelesys.com>
> 1801 23rd Avenue North |  Suite 217 |  Fargo, North Dakota 58102
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171207/46bd6141/attachment.html>


More information about the Users mailing list