[OpenSIPS-Users] Using Dispatcher with redis
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Jun 27 06:08:54 EDT 2017
Hi Royee,
You may take a look at the db_cachedb module which converts the a nosSQL
to an SQL interface:
http://www.opensips.org/html/docs/modules/2.3.x/db_cachedb.html
Still, it mainly works only with MongoDB, not with Redis.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Bootcamp 2017, Houston, US
http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
On 06/27/2017 12:38 PM, Royee Tichauer via Users wrote:
> I was wondering if it was all possible, and if it is which is what I'm
> understanding from your answer, then how should the data in redis look
> like?
> If you have an example for a rediscli command to add a dispatcher
> table to it that would be great.
>
> Royee
>
> On Mon, Jun 26, 2017 at 6:57 PM <jarrod at unixc.org
> <mailto:jarrod at unixc.org>> wrote:
>
> OpenSIPS loads the entire dispatcher structure into memory from
> the underlying (typically SQL) database so it is not querying a
> database for every look up. Does that alleviate your concern for
> using redis for dispatcher?
>
> Jarrod
>
> > On Jun 26, 2017, at 10:39 AM, Royee Tichauer via Users
> <users at lists.opensips.org <mailto:users at lists.opensips.org>> wrote:
> >
> > Hi all,
> >
> > I wanted to know whether its possible to use redis cache as a db
> for the dispatcher table? If so how would something like that look
> like in redis? What would be the structure needed in redis for this?
> >
> > Thanks,
> > Royee
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> 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/20170627/996316a8/attachment-0001.html>
More information about the Users
mailing list