Just to brainstorm - instead of synching via DB can we sync using SIP?

/O

10 sep 2013 kl. 15:11 skrev "Victor V. Kustov" <coyote@bks.tv>:

Hi, Daniel-Constantin!

I think need shared dialogs database. I see three way's to do this:
- use database and write function dialog_read_db() for reading dialogs
 from DB. Master will write dialogs in DB, someway DB replicate to
 slave, slave will use dialog_read_db() for sync dialogs with master.
- use htable and write replication mechanism htable(master)->htable(slave)
 this promise be faster than prevous, but require implement
 replication. by the way, htable replication may be useful not for
 dialogs only.
- use memcached. need declared memcached "clustering" (see "At the
 moment only one server is supported." in doc) and
 read_from_memcache() to memory (for dialogs but maybe not only)
 memcached will faster than any DB, I think.

Which way your advise?


--
WBR, Victor
 JID: coyote@bks.tv
 JID: coyote@bryansktel.ru
 I use FREE operation system: 3.10.10-calculate GNU/Linux

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

---
* Olle E Johansson - oej@edvina.net
* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden