Indicators you look at when considering a plan upgrade?
From your point of view, what signals would tell you it's time to upgrade to a faster Linode plan?
2 Replies
Usually, for database servers, I look at being able to meet current peak traffic plus a generous safety margin, with a decent amount for caching. If you're using MySQL, http://mysqltuner.com/
wget http://mysqltuner.pl/
sudo perl mysqltuner.pl
For web/application servers, I'll usually try optimizing as much as I can within the memory allocation before upgrading, since that will more directly improve site performance and will pay dividends as things grow down the line.
If you've got your web stuff and your database on the same server and traffic is getting piquant, I would seriously recommend two 512 instances rather than one 1024 instance. Put the database on one and the web stuff on the other. This will let you tune and scale them both independently.
(Protip: With MySQL, use the InnoDB engine for your tables and turn on binlogging. When you do your nightly mysqldump, "–single-transaction --quick --master-data=1" will get you a consistent dump with metadata that can be used to bootstrap a slave in a hurry if shit hits the fan.)
Scaling is, like most things, a matter of personal preference and religion. I prefer to scale horizontally; others prefer to scale vertically. Neither of us are wrong, but I'm right.