<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>Hello,</span></div><div><span><br></span></div><div>In the DB_ONLY mode, every SUBSCRIBE request will trigger a database operation immediately (either insert or update).</div><div>Also, the SUBSCRIPTION will always be matched from the database.</div><div>It behaves exactly as the name implies (write-through).</div><div><br>If it doesn't then that is a bug. Can you please tell me more about the scenario you are using?</div><div>Is there any usecase in which you can see the subscription in memory but not in the active_watchers table?</div><div><br></div><div>Regards,</div><div>Marius</div><div><br></div><div style="font-size: 12pt; font-family: arial, helvetica, sans-serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span
 style="font-weight:bold;">From:</span></b> Henning Westerholt &lt;henning.westerholt@1und1.de&gt;<br><b><span style="font-weight: bold;">To:</span></b> "Bucur, Marius Ovidiu" &lt;marius.bucur@1and1.ro&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> "sr-users@lists.sip-router.org" &lt;sr-users@lists.sip-router.org&gt;; laura testi &lt;lau.testi@gmail.com&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Friday, July 15, 2011 5:58 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [SR-Users] xcap server - http load–balancer: xcap authentication problem<br></font><br>On Friday 15 July 2011, laura testi wrote:<br>&gt; we have checked the presence extension for DB_MODE only in the master<br>&gt; branch. But it's not complete DB_ONLY mode, it seems that it still uses<br>&gt; the cache for active_watchers in write through mode. Is there any reason<br>&gt; for it? That can still make problem for the scalability for the
 multiple<br>&gt; presence servers, because if an presence event (either SIP or XCAP) of an<br>&gt; active subscription in the cache of one presence server, goes to another<br>&gt; presence server, can still cause the problem even the DB is sync with the<br>&gt; cache.<br><br>Hello Marius,<br><br>maybe you can comment a bit on this?<br><br>Thanks and best regards,<br><br>Henning<br><br>_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a ymailto="mailto:sr-users@lists.sip-router.org" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br><br><br></div></div></div></body></html>