<div dir="ltr">Thanks again, I guess its equally easy to use cassandra or redis for this, and who knows this maybe a good experiment to test which one of the two performs better and how to improve etc.<div><br></div><div>Best Regards,</div><div>Sammy</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 13, 2016 at 2:07 AM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">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">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>redis is capable for sure of handling that size of records. If
you just keep (key, value) pairs, redis is probably the best to
choose because is know to be very fast for looking up on a key.</p>
<p>Cheers,<br>
Daniel<br>
</p><div><div class="h5">
<br>
<div>On 12/05/16 22:54, SamyGo wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Daniel,
<div><br>
<div>I highly appreciate your share on this, I can make use of
the ndb_cassandra too, or for the matter mongodb, or redis
as well.</div>
<div><br>
</div>
<div>May I ask how huge whitelists in redis is manageable, I'm
looking for about 5~10 million records.</div>
<div><br>
</div>
<div><br>
</div>
<div>Best Regards,</div>
<div>Sammy</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, May 12, 2016 at 4:48 PM,
Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank"></a><a href="mailto:miconda@gmail.com" target="_blank">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">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>the userblacklist module does caching in kamailio
memory, so actually it doesn't seem to help much the
type of the backend (apart of data distribution and
loading from it).</p>
<p>If you want to interact with cassandra records always,
maybe ndb_cassandra module can help -- iirc, it also
uses newer versions of cassandra libs that db_cassandra.<br>
</p>
I don't have experience with cassandra at all, most of the
deployments I dealt with use redis for matching
white/black listed numbers. Also mongdb should have some
operations allowing matching by key or prefix.<br>
<br>
Cheers,<br>
Daniel
<div>
<div><br>
<br>
<div>On 11/05/16 15:22, SamyGo wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<p dir="ltr">Hi,</p>
<p dir="ltr">I am tasked to make use of blacklist
module for about 4 to 6 million numbers. I am
thinking of using Cassandra for the purpose but
reading through the documentatiom of module and
recent mailing list discussion made me a bit
hesitant.</p>
<p dir="ltr">I am looking for advise on this whether
this is going to perform as expected or is not
even going to work with the BlackListing module !
</p>
<p dir="ltr">I am using Cassandra 33x and Kamailio
4.4 over Ubuntu 14.04.<br>
</p>
<p dir="ltr">Looking for suggestions here.</p>
<p dir="ltr">Regards,<br>
Sammy</p>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<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><span><font color="#888888">
</font></span></pre>
<span><font color="#888888"> </font></span></blockquote>
<span><font color="#888888"> <br>
<pre cols="72">--
Daniel-Constantin Mierla
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a></pre>
</font></span></div>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre cols="72">--
Daniel-Constantin Mierla
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a></pre>
</div></div></div>
</blockquote></div><br></div>