Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Aug 10, 2009 4:27 am 
Offline
Senior Member

Joined: Wed Apr 11, 2007 8:23 pm
Posts: 76
I've been with Linode for about 4 years now and I'm slowly starting a small hosting business. Currently I host 6 domains (with about 15 vhosts, these are mostly off my site) and get roughly 1500 unique visitors per day.

I know I'm nowhere close to needing to expand at the moment, but hopefully I'll need to at some point. My CPU graphs are mostly idle (~1-3% except during backups and the like), IO graphs are low also (~150 Average IO Rate).

What are some early indicators of when you need to expand and what are the recommended ways of expanding? A obvious factor is page load times. Preferably I'd like some other indicates (such as CPU Usage, IO Rate, and Network Usage) of when a 360 can't provide superb load times and performance to my users/customers. I'm not expecting an "once you get x views per day" type of answer since I know there are a lot of contributing factors (static vs dynamic pages just to name one).

I'm currently running a single 360 (Ubuntu 9.04). I think when the time comes I'll be looking at getting a second 360 (at the same DC) and splitting MySQL, Apache2, and my Mail Server up. Are there any advantages of getting a 720 over a second 360? How would you personally accommodate a growing Webserver (serving mostly dynamic pages), MySQL Server, and Email Server (Postfix/Courier-IMAPd)?

Changing services and operating systems is always a possibility to squeeze more power out of my Linode. I've heard good things about LightHTTPd, nginx, PostgreSQL, and Dovecot. A lot of people also seem to be using CentOS. I've already made a few basic tweaks (Apache MaxClients/KeepAlive) and haven't noticed a difference (not that I expected to with how low my usage is).

Thank you for your time,
Smark


Top
   
 Post subject:
PostPosted: Mon Aug 10, 2009 4:55 am 
Offline
Senior Member

Joined: Sun Aug 02, 2009 1:32 pm
Posts: 222
Website: https://www.barkerjr.net
Location: Connecticut, USA
I'd be mainly concerned with Swap usage. Once you start using over say 10MB swap, you should try to see if there's any tweaking that needs to be done. Once you start using over 100MB swap, you will probably start seeing performance problems.


Top
   
 Post subject:
PostPosted: Mon Aug 10, 2009 5:28 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
BarkerJr wrote:
Once you start using over 100MB swap, you will probably start seeing performance problems.


I used to think the used swap size by itself was a performance indicator, until munin graphs showed my site having swap size of ~200M without very little *use* of the swap. I had not seen this in years past. If the swap space has very little I/O traffic (once filled) the volume of swap by itself probably does not indicate a problem in my opinion.

James


Top
   
 Post subject:
PostPosted: Mon Aug 10, 2009 1:13 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Linux will, all by itself, swap rarely-used stuff. It does this to free up RAM for cache.

The logic is, the memory isn't being used, so better to swap it out and put it towards something useful.

Apart from possible reliability concerns, I wouldn't bother getting a second Linode until you had exhausted one of the higher levels (720? 1080?), otherwise you're creating needless extra work for yourself.

Such upgrades can be done relatively painlessly (without getting a new Linode).


Top
   
 Post subject:
PostPosted: Mon Aug 10, 2009 1:43 pm 
Offline
Senior Member

Joined: Mon Oct 27, 2008 10:24 am
Posts: 173
Website: http://www.worshiproot.com
Your database server will be much happier on its own box.

~JW


Top
   
 Post subject:
PostPosted: Mon Aug 10, 2009 8:00 pm 
Offline
Junior Member

Joined: Tue Jan 01, 2008 4:28 am
Posts: 32
JshWright wrote:
Your database server will be much happier on its own box.


You mean by itself on a 360 with 2x as much contention with other 360 users, or together with your web server on a 720 with a lower contention?

Personally I do not think it matters until you out grow your VPS and move onto a dedicated box, or are using some solution that's very horizontally scalable.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group