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)

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

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

[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