Hey, It'll depend on a few things. I'd say in almost all cases using fewer larger instances is probably better from a maintenance standpoint, but I need to ask some questions:
1) Are you running 2G instances because you're running a 32bit memcached? Some folks do that to save some pointer space, but it's not that necessary anymore. 2) What version are you running? Very old versions weren't as good at thread scalability 3) Are all 6 of your per-node instances in the same pool? Or are you segregating different pools for different types of objects? 4) What are your metrics, if they can be shared? (feel free to send privately if that helps). You'd need extremely high rates of requests to run into threading problems under the latest software. It'll be very slightly measurably slower than running a single thread, but other benefits should outweigh. Given the improvements to memory handling up through 1.4.25, I'd highly recommend testing a recent version with modern options enabled. You can see the release notes for ideas there. Thread scaling is good and you shouldn't really need to manage so many instances. I'm also hoping to finish up this today or tomorrow: https://github.com/memcached/memcached/pull/127 - which has all of the previous benefits plus an ability to take a look at what's going on on a live server. On Wed, 15 Jun 2016, Geoff Galitz wrote: > > Hi. > > We have a number of servers setup with up to 6 memcache instances per node. > Supposedly this was done to increase performance and avoid threading > bottlenecks, historically. > > My question is this... at a general/best practice level are multiple smaller > instances (e.g. 2G) favorable over a single large (e.g. 10G) memcached > instance? Assume we have a > large fleet of servers backing this memcache service. > > Thanks. > -G > > > -- > > --- > 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.
