Question

I am creating different service on the single memcached server as

sc create "Memcached11211" binPath= "C:\memcached\memcached.exe -d runservice -p 11211"
DisplayName= "Memcached11211" start= auto

sc create "Memcached11212" binPath= "C:\memcached\memcached.exe -d runservice -p 11212"`  
DisplayName= "Memcached11212" start= auto

Will that cause performance overhead?

Was it helpful?

Solution

the performance nearly the same, with some minor different. the bottleneck of memcached is usually NetworkIO, if you deploy multi service on the single server, that's no difference.

but there are some good stuff if you has multi service, for example:if one of the memcached service crash, you just lose half of the cached data, and your db will not carry full load for your lost. and if you plan to build a memcached cluster, this is a good way for your code to get ready.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top