Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
This has worked beautifully for me. In the past I was load balancing using an IP Hash so I could ensure my users were always getting sent to the same box. This is a much better solution - my load is now evenly distributed, and if one of my web servers goes down none of my users will be logged off. Thanks for another fantastic tutorial Digital Ocean!
i have set my server like you tutor… but visit number same 1 visit
how to fix them webserver1 centos webserver2 debian
memcache server debian
Do we need to keep memcache session in our server?if i dont want to keep session in our server then how we can do that?
Are you asking about clearing all the stored session information?
You can do that by restarting Memcached:
sudo service memcached restart
Thanks for this great tutorial. I bit unclear, what size of server do you recommend for the one running memcached?
Also, cant I just install Syncthing and only use the 2x app servers?
Great tutorial!
I have a question: if you stop memcached on server 1, The Droplet transparently uses the session information stored on the other two servers. Then if I start memcached again, and run curl --cookie “PHPSESSID=8lebte2dnqegtp1q3v9pau08k4” http://1.1.1.1/session.php
Output will be Your number of visits: 4 or Your number of visits: 5?
I would like to implement this setup on a Redhat Drupal server. But I do not have a memcached.conf or memcache.ini. What are the steps for getting this to work on my Redhat installation?