Re: [OpenSIPS-Users] cachedb_memcached multiple servers

2020-03-13 Thread Calvin Ellison
I used the following and I see connections to both of those hosts. Maybe
libmemcached is distributing keys automatically?

modparam("cachedb_memcached","cachedb_url","memcached:lrn://lrn-a,lrn-b/")

Regards,

*Calvin Ellison*
Senior Voice Operations Engineer
calvin.elli...@voxox.com
+1 (213) 285-0555

---
*voxox.com  *
5825 Oberlin Drive, Suite 5
San Diego, CA 92121
[image: Voxox]


On Fri, Mar 13, 2020 at 3:32 PM Brett Nemeroff  wrote:

> I'm not aware of any way to specify a way to do this. You can however
> specify multiple memcache servers and perhaps use some sort of hashing alg
> to pick which one you want to use. Else you could use Jon's suggestion to
> use something a little more sophisticated than vanilla memcache.
>
> Just be sure you really know where memcache's strengths are. It's really
> super fantastic.
> -Brett
>
>
> On Fri, Mar 13, 2020 at 5:22 PM Calvin Ellison 
> wrote:
>
>> Does OpenSIPS support using multiple memcached servers to distribute keys
>> for a single cachedb_url prefix? I'd like to pool the spare memory of my
>> OpenSIPS servers to make more efficient use of them.
>>
>>
>> Regards,
>>
>> *Calvin Ellison*
>> Senior Voice Operations Engineer
>> calvin.elli...@voxox.com
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] cachedb_memcached multiple servers

2020-03-13 Thread Brett Nemeroff
I'm not aware of any way to specify a way to do this. You can however
specify multiple memcache servers and perhaps use some sort of hashing alg
to pick which one you want to use. Else you could use Jon's suggestion to
use something a little more sophisticated than vanilla memcache.

Just be sure you really know where memcache's strengths are. It's really
super fantastic.
-Brett


On Fri, Mar 13, 2020 at 5:22 PM Calvin Ellison 
wrote:

> Does OpenSIPS support using multiple memcached servers to distribute keys
> for a single cachedb_url prefix? I'd like to pool the spare memory of my
> OpenSIPS servers to make more efficient use of them.
>
>
> Regards,
>
> *Calvin Ellison*
> Senior Voice Operations Engineer
> calvin.elli...@voxox.com
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] cachedb_memcached multiple servers

2020-03-13 Thread Jon Abrams
Look at mcrouter from Facebook. You can do a bunch of nifty things with it
sitting between OpenSIPs and the memcached servers.

- Jon Abrams

On Fri, Mar 13, 2020 at 5:22 PM Calvin Ellison 
wrote:

> Does OpenSIPS support using multiple memcached servers to distribute keys
> for a single cachedb_url prefix? I'd like to pool the spare memory of my
> OpenSIPS servers to make more efficient use of them.
>
>
> Regards,
>
> *Calvin Ellison*
> Senior Voice Operations Engineer
> calvin.elli...@voxox.com
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] cachedb_memcached multiple servers

2020-03-13 Thread Calvin Ellison
Does OpenSIPS support using multiple memcached servers to distribute keys
for a single cachedb_url prefix? I'd like to pool the spare memory of my
OpenSIPS servers to make more efficient use of them.


Regards,

*Calvin Ellison*
Senior Voice Operations Engineer
calvin.elli...@voxox.com
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users