Also, I have bad experience with US hosting providers, with them filtering out a list of countries (Cuba, Venezuela, etc, etc). How about you guys?
I might in the future decide to change my forum to a Java one, would this be a problem on the VPS? Am I free to install whatever I want/need?
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!
Hi Dave. Would you mind some pointers how to do these, please, “whether a distributed system is necessary for you. If it isn’t then I would start of with 2-3 servers and just keep increasing the ceiling. You could get away with 1x4GB for the DB and 1x2GB Web.” <br> <br>Do you mean two or three different droplets/servers in just one domain? Thanks.
Yes, 2-3 for one domain. The reason being that you don’t want your web server and your SQL server to fight for resources (CPU/RAM) unless you have very little traffic or a lot of cached/static pages. You also want to have a backup of your database in case something goes wrong with the server suddenly. By using replication this means you’d lose only one seconds worth of data instead of 1-2 days. Also, you can point your website to the secondary-master so that your website stays online while you attempt to find out what went wrong with your primary-master. <br> <br>Of course, these are only suggestions and it’s dependent purely on the size of your web site, the application architecture and your needs. Some experimentation will be necessary to figure out the most cost effective solution for your website and budget, but DO makes that pretty simple by using the resize function. The 1x4G and 1x2G are only rough suggestions, you may be able to get away with less resources thus costing you less money. <br> <br>To elaborate a little, instead of setting up your SQL database on the same server as your web application, you’d set it up on a new one and change the host to your primary mysql servers IP instead of localhost. Then you’d setup a master-master replication system for MySQL. The master-master setup is different from a master-slave because it allows you to write changes to either of your servers and have the other stay updated. What you don’t want to do is attempt to write to both at the same time. That can lead to conflicts or errors. <br> <br>http://c2journal.com/2013/01/24/step-by-step-guide-to-mysql-master-master-replication-without-downtime/ <br> <br>
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.