Questions about memcached in general and failover

2012-10-16 Thread SAE
Hello, We recently implemented memcached to keep our database from crashing because of too many connections to it. Now we have two memcached servers which handle the DB-access and as long as both servers are online we encounter no problems. However when one of the goes down. Half our users

Re: Questions about memcached in general and failover

2012-10-16 Thread Marco Oliverio
2012/10/16 SAE simsimil...@googlemail.com Hello, Hi We recently implemented memcached to keep our database from crashing because of too many connections to it. Now we have two memcached servers which handle the DB-access and as long as both servers are online we encounter no problems.

Re: Questions about memcached in general and failover

2012-10-16 Thread Kiran Kumar
garulf , Memcache doesn't automatically comes with Replication facility (High Avialibility) , i recomend you to use Repcache Patch on top of your existing mecached for obtaining Replication of data within your servers . The only issue i see is that Repcached only works / Successfully

Re: Questions about memcached in general and failover

2012-10-16 Thread Les Mikesell
On Tue, Oct 16, 2012 at 11:22 AM, Kiran Kumar krn1...@gmail.com wrote: Memcache doesn't automatically comes with Replication facility (High Avialibility) , i recomend you to use Repcache Patch on top of your existing mecached for obtaining Replication of data within your servers . The only

Re: How to contribute changes to Memcached 1.6

2012-10-16 Thread rajiv
Hi, You can find it at: https://github.com/rajiv-kapoor/memcached/tree/bagLRU Let me know if you have any problems. thanks, \rajiv On Sunday, October 7, 2012 6:05:02 PM UTC-7, 连海东 wrote: Hi rajiv: I didn't find the badLRU branch on 1.6 repo, where can I get your branch? Thanks 在

Re: distributing load between Memcache Servers

2012-10-16 Thread Yiftach Shoolman
You should take the following into account: 1. LB will add another network hop and therefore extra latency for each request 2. Depending on the throughput of your Memcached servers, LB will probably be the bottleneck (unless you are using HW based LB which is too expensive) On Tue, Oct 16, 2012

Re: Questions about memcached in general and failover

2012-10-16 Thread Perrin Harkins
On Tue, Oct 16, 2012 at 12:59 PM, Les Mikesell lesmikes...@gmail.com wrote: If you are going to be stuck with this restriction - and have to build your own fail-over, is there any advantage to using memcache compared to redis with its much larger feature set? I agree. If you need durability

Re: distributing load between Memcache Servers

2012-10-16 Thread Kiran Kumar
Thank you very much . Another question , If i dont use a LoadBalancer , Will the two Memcache Servers (Server1 and Server2) with repcache installed on them , will they be like active active cluster ?? Means , will the load (requests from memcache client ) would be distributed between

Issue 294 in memcached: segfault under low memory conditions

2012-10-16 Thread memcached
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 294 by ke...@tellapart.com: segfault under low memory conditions http://code.google.com/p/memcached/issues/detail?id=294 Under certain low memory conditions, memcached can segfault. I cannot reproduce this manually, but

data synchronization betwean memcached cluster nodes?

2012-10-16 Thread Raymond Wang
I am newbie to Memcached, and I have a questions about cluster deployment: does memcached support data synchronization betwean cluster nodes? if it does, how can I determine the scope of synchronization? Thanks in advance.