Thanks Nicolas for your reply. We don't create new connection every time. I checked with tcpdump and I see more tcp resets happening on first host when compared to others.
On Fri, Dec 25, 2015 at 10:00 PM, Nicolas Motte <lingusi...@gmail.com> wrote: > In some client libraries you can choose the hashing function, that will > determine the distribution of your keys among the farm. > For instance, in the C client, you have a dozen of hashing functions: > http://docs.libmemcached.org/hashkit_functions.html > There is no silver bullet, you need to study which one corresponds better > to your data set. > I couldn t find the equivalent in Cache:Memcached, but I guess there is... > > Even though this will change the distribution of your keys, that should > not change the number of connections. > Each of your clients should keep an open connection to each node of the > farm. Do you keep your connections opened or do you re-create them for > each call? > Could you also check if your keys are correctly balanced across your farm? > > Cheers > Nico > > 2015-12-25 17:00 GMT+01:00 Bharathiraja P <pbrthemas...@gmail.com>: > >> Hi, >> >> We have 18 memcache servers and we use Cache::Memcached client to store >> and retrieve values. Problem we see is, first server in the list gets more >> connections when compared to others. Any idea how to fix this? >> >> -- >> Raja >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "memcached" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to memcached+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > > --- > You received this message because you are subscribed to a topic in the > Google Groups "memcached" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/memcached/onKftIeaZ18/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > memcached+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.