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 <[email protected]>:

> 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 [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to