Difference between revisions of "VPS Resources"

From Hostek.com Wiki
Jump to: navigation, search
(Storage configuration)
Line 67: Line 67:
 
==Storage configuration==
 
==Storage configuration==
  
Disks in our storage arrays are configured at RAID 50.  Several factors must be considered when choosing a RAID level.  Besides the obvious of read and write performance, one must consider usable disk space, fault tolerance, and rebuild time in the event of disk failure.  We feel RAID 50 gives us the best mix of these.
+
Disks in our storage arrays are configured at RAID 50.  Several factors must be considered when choosing a RAID level.  Besides the obvious of read and write performance, one must consider usable disk space, fault tolerance, rebuild time in the event of disk failure, and degraded performance in the event of disk failure <sub>(degraded performance refers to the performance of the storage array while a rebuild is taking place after a disk failure)</sub>.  We feel RAID 50 gives us the best mix of these.
 +
 
  
  
  
 
[[Category:VPS]]
 
[[Category:VPS]]

Revision as of 17:03, 17 December 2012

Components

Custom components can be installed on your VPS with hostek.com, we do not supply the components however if your VPS is managed we can install them with the necessary installation keys and information to download the components.

Component installation

For Windows

  • Our servers are 64bit by default, for 32bit components on non-managed VPS accounts will require "Enable 32bit Applications: TRUE" to be set within the Application Pool in IIS for the specific site using the component.

For Linux

  • Ensure compatibility by checking with the vendor before hand, our Linux servers by default are installed with 64bit CentOS, with Cpanel(easy apache).

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.


Storage configuration

Disks in our storage arrays are configured at RAID 50. Several factors must be considered when choosing a RAID level. Besides the obvious of read and write performance, one must consider usable disk space, fault tolerance, rebuild time in the event of disk failure, and degraded performance in the event of disk failure (degraded performance refers to the performance of the storage array while a rebuild is taking place after a disk failure). We feel RAID 50 gives us the best mix of these.