VPS Resources

From Hostek.com Wiki
Revision as of 18:54, 3 July 2012 by Jonc (Talk | contribs) (Recommendations)

Jump to: navigation, search

Domain limits

Questions: How many domains can I put on one VPS server?

The number of domains that can be hosted greatly depends on the type of work the server has to do for your application (ie website). For example if we break down the usage into processes we can easily see how the answer to this question depends on many factors, however most times optimizations can greatly increase the capabilities of a VPS without requiring upgrades.

Typical server resources include:

  • CPU
  • RAM
  • Disk I/O
  • Bandwidth

Typical services used:

  • Web Server (Apache or IIS)
  • DB Server (MySQL or MSSQL)
  • Mail Server (Exim or SmarterMail)
  • Application Server (ColdFusion, Railo, PHP)


Each service will use a combination of the resources and services to "serve" the application to the internet. The optimal configuration would utilize as much caching (database results) and optimized static files (txt, html, css, images). In addition limiting the number of outbound calls to external resources for generating site content is important. The difference between a site utilizing caching, optimized files and scheduled import of exernal resources may be from 10 to 100% better performance.


The key is optimization, a site fully optimized would likely run into a bandwidth limit before server resource usage would ever be an issue. See the examples below of bandwidth limitation for 3mbps sustained traffic, while VPS servers allow "bursting" which is periodic spikes:


  1. Google (search results page) approx 2KB, can serve 11,250 results in one minute @ 3mbps or 37,500 new visitors @ 10mbps (burst).
  2. Yahoo (home page results) approx 200KB, can serve 112.5 new visitors in one minute @3mbps or 375 new visitors @ 10mbps (burst).


The key to serving you can see from the example above is optimizing content. A media rich website is going to utlize many more resources both bandwidth and other thus it will handle much less than a mostly text based website.

Checklist for optimizing applications for maximum server performance:

  1. Are the images on my website optimized?
  2. Is an Expires or a Cache-Control Header being utilized?
  3. Are all possible queries being cached in memory?
  4. Are the tables being used in queries with the "where" clause indexed?
  5. Are CSS, JS and other TXT resources compressed using server side (Gzip) compression?
  6. Are JavaScript and CSS Minified?
  7. Are the number of HTTP requests visitors have to make minimized?

Recommendations: GENERAL GUIDELINES

This information is meant to help give an example based on average site usage, not all sites or use cases will fit into these generalized suggested solutions.

  • Traffic usage between 0-300GB, minimal requirements (not ColdFusion), Basic VPS can handle 30 websites.
  • Traffic usage between 0-300GB, minimal requirements (with ColdFusion), Silver VPS can handle 20 websites.
  • Traffic usage between 300-1000GB, medium requirements (not ColdFusion), Silver VPS can handle 50 websites.
  • Traffic usage between 300-1000GB, medium requirements (with ColdFusion), Enterprise VPS can handle 50 websites.
  • Traffic usage between 1000-3000GB+, large requirements (no ColdFusion), Enterprise VPS can handle 250 websites.
  • Traffic usage between 1000-3000GB+, large requirements (with ColdFusion), Virtual Dedicated can handle 200 websites.