<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Just to brainstorm - instead of synching via DB can we sync using SIP?<div><br></div><div>/O</div><div><br><div><div>10 sep 2013 kl. 15:11 skrev "Victor V. Kustov" <<a href="mailto:coyote@bks.tv">coyote@bks.tv</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi, Daniel-Constantin!<br><br>I think need shared dialogs database. I see three way's to do this:<br>- use database and write function dialog_read_db() for reading dialogs<br>  from DB. Master will write dialogs in DB, someway DB replicate to<br>  slave, slave will use dialog_read_db() for sync dialogs with master.<br>- use htable and write replication mechanism htable(master)->htable(slave)<br>  this promise be faster than prevous, but require implement<br>  replication. by the way, htable replication may be useful not for<br>  dialogs only.<br>- use memcached. need declared memcached "clustering" (see "At the<br>  moment only one server is supported." in doc) and<br>  read_from_memcache() to memory (for dialogs but maybe not only)<br>  memcached will faster than any DB, I think.<br><br>Which way your advise?<br><br><br>--<br> WBR, Victor<br>  JID: <a href="mailto:coyote@bks.tv">coyote@bks.tv</a><br>  JID: <a href="mailto:coyote@bryansktel.ru">coyote@bryansktel.ru</a><br>  I use FREE operation system: 3.10.10-calculate GNU/Linux<br><br>_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users<br></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div>---</div><div>* Olle E Johansson - <a href="mailto:oej@edvina.net">oej@edvina.net</a></div><div>* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden</div><div><br class="webkit-block-placeholder"></div></span><br class="Apple-interchange-newline">

</div>
<br></div></body></html>