Re: [SR-Users] RFC: db_redisusrloc module - review and how to deal with

2018-02-23 Thread Julien Chavanton
Hi, just sharing my experience from last year while adding some features to db_postgres and db_sqlite On Wed, Feb 21, 2018 at 1:33 AM, Daniel-Constantin Mierla wrote: > Hello, > > (cross-posting being something I want to get developers and users > express their opinions). > > We were recently in

Re: [SR-Users] RFC: db_redisusrloc module - review and how to deal with

2018-02-21 Thread Josh Converse
Opinion of a Kamailio novice, take with a grain of salt: Would it be appropriate to think about this general problem more akin to how some modules support either a file or a db backend? Imagine this world: - To be called a DB in Kamailio parlance, a backend needs to conform to the DB API, b

Re: [SR-Users] RFC: db_redisusrloc module - review and how to deal with

2018-02-21 Thread Daniel-Constantin Mierla
Hello, for fairness and a more complete picture, I should have mentioned that I am somehow the first that broke into module specific backend with topos and topos_redis. In that case, I was also guided by the goals of squeezing what ever can be exploited in terms of performances from Redis backend,

Re: [SR-Users] RFC: db_redisusrloc module - review and how to deal with

2018-02-21 Thread Alex Balashov
Hi, I have not dived into the technical specifics deeply or examined the innards of db_redis, so this is really shooting from the hip: I can appreciate the very legitimate dilemma here. However, in general I would advocate for keeping all DB connectors generic. Although I understand that there

[SR-Users] RFC: db_redisusrloc module - review and how to deal with

2018-02-21 Thread Daniel-Constantin Mierla
Hello, (cross-posting being something I want to get developers and users express their opinions). We were recently in a (lucky) situation to have two new modules submissions targeting more or less the same purpose: allowing to use Kamailio with a Redis backend via database API. One was submitted