<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
On 3/27/12 3:22 PM, Jason Penton wrote:
<blockquote
cite="mid:CALoGXNUvO=aAaQ7K+Pxuz3zDxUS8_HSGDG9GSTNYmp=QisF8rA@mail.gmail.com"
type="cite">wow Daniel, you've been busy ;)
<div><br>
</div>
<div>nice!!!!<br>
</div>
</blockquote>
thanks, still a bit to tune it (add the feature of enable/disable
connections), but should be workable as it is. Couldn't test all
scenarios, so feedback would be welcome!<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
cite="mid:CALoGXNUvO=aAaQ7K+Pxuz3zDxUS8_HSGDG9GSTNYmp=QisF8rA@mail.gmail.com"
type="cite">
<div><br>
<div class="gmail_quote">On Tue, Mar 27, 2012 at 2:44 PM,
Daniel-Constantin Mierla <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:miconda@gmail.com">miconda@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Module:
sip-router<br>
Branch: master<br>
Commit: 201fc2d600e48fbb717531c79013c1b971f82d76<br>
URL: <a moz-do-not-send="true"
href="http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=201fc2d600e48fbb717531c79013c1b971f82d76"
target="_blank">http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=201fc2d600e48fbb717531c79013c1b971f82d76</a><br>
<br>
Author: Daniel-Constantin Mierla <<a
moz-do-not-send="true" href="mailto:miconda@gmail.com">miconda@gmail.com</a>><br>
Committer: Daniel-Constantin Mierla <<a
moz-do-not-send="true" href="mailto:miconda@gmail.com">miconda@gmail.com</a>><br>
Date: Tue Mar 27 14:38:57 2012 +0200<br>
<br>
db_cluster: new module for generic database clustering<br>
<br>
- the module allow to group several DB connections and
perform commands<br>
over them, based on policies such as round robin, serial
try or<br>
parallel execution<br>
- any kind of db connection can make part from a cluster<br>
- example use case: write in parallel to two databases and
do round<br>
robin read from them<br>
- the module is a middle layer between modules and
databases, reusing<br>
existing db connectors. A module that wants to use such
cluster, just<br>
have to set the db_url to "cluster://clusterid"<br>
- the module allow definition of multiple clusters<br>
- see README for more details<br>
- todo: enable/disable connections at runtime and via rpc<br>
<br>
---<br>
<br>
modules_k/db_cluster/Makefile | 15 +<br>
modules_k/db_cluster/README | 162
+++++++++<br>
modules_k/db_cluster/db_cluster_mod.c | 112 ++++++<br>
modules_k/db_cluster/dbcl_api.c | 437
++++++++++++++++++++++<br>
modules_k/db_cluster/dbcl_api.h | 142
++++++++<br>
modules_k/db_cluster/dbcl_data.c | 479
+++++++++++++++++++++++++<br>
modules_k/db_cluster/dbcl_data.h | 89 +++++<br>
modules_k/db_cluster/doc/Makefile | 4 +<br>
modules_k/db_cluster/doc/db_cluster.xml | 37 ++<br>
modules_k/db_cluster/doc/db_cluster_admin.xml | 167
+++++++++<br>
10 files changed, 1644 insertions(+), 0 deletions(-)<br>
<br>
Diff: <a moz-do-not-send="true"
href="http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=201fc2d600e48fbb717531c79013c1b971f82d76"
target="_blank">http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=201fc2d600e48fbb717531c79013c1b971f82d76</a><br>
<br>
_______________________________________________<br>
sr-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev"
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
<a class="moz-txt-link-freetext" href="http://www.asipto.com/index.php/kamailio-advanced-training/">http://www.asipto.com/index.php/kamailio-advanced-training/</a></pre>
</body>
</html>