By mick254264
I’m considering running Memcache on a separate droplet, but need to do this in “Amsterdam 1” where private networking is not available. My concern is that communication between Apache and Memcache will be to slow over the droplets public IP addresses and that this will “eat up” most of the increased performance from using Memcache.
Anyone with experience or knowledge about this that have some qualified advice to give?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
@kamaln7 Thanks for the answer. And what about replication of memcache based sessions between droplets not hosted in the same datacenter ? Its it safe and efficient ?
Running memcached on the public interface of a separate droplet in <strong>the same</strong> datacenter does not degrade its performance as it gets routed internally and not through the public internet (you can test it by running a traceroute from an AMS droplet to another AMS dropelt) so it will have the same performance of running on a private network. <br> <br>Just make sure you firewall your memcached droplet and you should be good to go :]
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.