Re: [OpenSIPS-Users] Cache design

2016-01-13 Thread Bogdan-Andrei Iancu
Hi John, The cachedb_x module do implement support for different noSQL like DBs (local - in opensips memory, mongoDB, memcached, redis, etc). The sql_cache is new transparent way of caching an SQL table in OpenSIPS memory (while reading data from an SQL table). the cache interface works

Re: [OpenSIPS-Users] Cache design

2016-01-12 Thread John Nash
Yes I am also doing that with local cache but I was confused with sql_cacher and with mongo db also it can be done?...I was just wondering what are these for? On Wed, Jan 13, 2016 at 1:40 AM, wrote: > John, > > I do something similar for caching auth user id and passwords using > cachedb_redis/c

Re: [OpenSIPS-Users] Cache design

2016-01-12 Thread jarrod
John, I do something similar for caching auth user id and passwords using cachedb_redis/cachedb_local and db_postgres. My basic logic first checks cache (cache_fetch) to see if the key exists. If it does I will pv_proxy_authorize using the value stored in the populated avp from the fetch. If

[OpenSIPS-Users] Cache design

2016-01-12 Thread John Nash
I am using local cache db module in order to keep user id and password in memory and now plan to keep some other data in memory too and that I want to keep in some centralized cache. It will be like Opensips1, Opensips2 <-> Cache server <-> Postgresql I also need to periodically u