Most people start out with shared hosting when they first launch their online business. After all, shared hosting is dirt cheap and it does the job well when your site doesn’t get a whole lot of traffic.
But eventually, your website will outgrow your shared hosting account and the next logical upgrade is to signup for a VPS webhost.
What Is VPS Hosting?
First off, VPS stands for virtual private server which essentially means that a single machine is partitioned into separate servers that each act like a dedicated machine.
While VPS hosting is very similar to shared hosting in that multiple accounts are hosted on a single machine, a VPS webhost will guarantee you dedicated resources for your website and isolate your sites from others that are on the same box.
Especially when you run an ecommerce store, it’s absolutely essential that you maintain a responsive website otherwise you could frustrate customers and lose out on potential business.
My Upgrade Story
When I first upgraded to a VPS webhost from Bluehost shared hosting, I blindly signed up for a VPS that one of my friends recommended. And while I won’t name names, I stayed with this same VPS webhost for several years until it completely crashed on me late last year which prompted me to search for another option.
But here’s what’s funny about webhosting. You can never know whether your webhost is good or bad until you switch. So unlike last time when I blindly took someone else’s advice, I decided to do my own research and to fully understand the different flavors of VPS.
And boy has it been eye opening! I used to think all VPS’s were created more or less equal and that you could always trust the numbers that were given to you. But that is not always the case!
For example, if a VPS host promises you 1GB of dedicated RAM and 1TB of bandwidth, that’s exactly what you should get right? Well in reality, the answer isn’t always that simple and it largely depends on what type of VPS virtualization is used on the server.
Don’t worry, this isn’t going to be a technical article. But I will teach you what to avoid when shopping for the right VPS webhost for your business.
Avoid VPS Hosts That Use Virtuozzo And OpenVZ
A virtual private server is essentially a single machine that is sliced into distinct servers that can be sold individually. And the idea is that you can get “dedicated server” like performance without actually paying for a dedicated box.
The important thing to realize however, is that there are many different ways to slice up the machine and this isn’t always obvious to the end user. There are 3 common virtualization solutions on the market today for VPS web hosting, Virtuozzo, Xen and KVM.
Overall, it’s not essential to understand the ins and outs of the 3 but you should always ask the VPS provider which virtualization technique they utilize for their servers.
Why? It’s because Virtuozzo is the least predictable of the bunch and you should avoid signing up for any VPS that uses Virtuozzo if you want your server to be fully isolated from the other accounts on the same machine.
In other words, you don’t want other rogue websites on your same machine to be able to bring down or affect the operation of your own sites.
My Experience With A Virtuozzo Based VPS
The first VPS webhost I signed up for used Virtuozzo and the best way to explain why it sucks is to provide you with some real examples and experiences.
Note: There is also an open source variant of Virtuozzo called OpenVZ. Both have the same weaknesses.
Back when I was on Virtuozzo, my server used to randomly slow down during certain parts of the day even though my websites were not receiving much traffic. And while I found this odd, the sysadmins used to tell me that my sites were the ones causing the slowdown due to excessive “background processes”.
Does this sound like BS to you? I must admit, it did set off my BS alarm but at the time I wasn’t too stringent about speed and my sites rarely went down. I think the main reason I didn’t complain was because I came to these guys straight from shared hosting and my VPS was still light years faster than what I had in the past.
It wasn’t until I did some research that I actually figured out why my sites would suddenly slowdown and spike in server load. The culprit was Virtuozzo and the way it handles memory allocation.
(Before I continue, I just wanted to give a quick shout out and thanks to Larry Ludwig of HostCube for answering all of my VPS hosting questions!).
Why Virtuozzo Is Not Well Suited For Mission Critical Sites
In order to explain why Virtuozzo has poor isolation of different accounts on the same machine, here’s a very basic example.
First of all, when a Virtuozzo VPS plan says that you get 512MB “guaranteed” RAM and 1024MB of “burstable” RAM, it means that you are “allocated” up to 512 MB of RAM to your account and up to 1024MB of extra memory to use as needed as long as there are memory resources available.
It’s the “burstable memory allocation” that screws things up for Virtuozzo users. Here’s why…
Let’s say you have 2 users on a machine where each user gets 512MB guaranteed RAM and 1024MB of burstable RAM and these 2 users are hosted on a machine loaded with 1GB of physical RAM.
512MB guaranteed + 512MB guaranteed = 1GB RAM. Sounds ok right?
But let’s say one of the users(user 1) decides to run a memory intensive program that requires 900MB of ram. Meanwhile, the other user (user 2) is pretty much idle and is only using 100MB of ram.
In this case, user 1 would get allocated 900 MB of ram leaving only 124MB left in the system. However, if user 2 later gets a surge in traffic and requires 512 MB of ram…
Guess what? User 2 is out of luck because user 1 is using most of the RAM on the machine. As a result user 2’s site will either crash or experience a severe slowdown while memory is shuffled around.
In general, Virtuozzo is very zippy if the webhost puts enough RAM into the machine to cover the sum of all burstable memory in the system or if there are no rogue websites on the same box.
However, given that webhosting is a very cutthroat business, it’s very common for Virtuozzo hosts to only load a machine with the minimum “guaranteed” memory allocation.
Therefore, when there are multiple rogue websites on the same box using the same memory resources, your own websites could go down through no fault of your own!
The Alternative – KVM and Xen
While it may sound convenient to have access to “burstable resources” when your website gets overloaded, in reality it makes your website much less predictable. In a Virtuozzo VPS, the memory allocation is fuzzy which means that it’s possible that you may run out of memory when you need it if other users in the system are being greedy.
That is why it is much better to run your mission critical websites on VPS servers where you have fully dedicated resources which is where Xen and KVM come in. In a Xen or KVM based VPS, all RAM and processor resources are completely dedicated which means that they are always available to you when you need it.
Therefore a Xen or KVM based VPS will behave like a true dedicated server with a near complete isolation of user accounts. The only downside is that a Xen or KVM based server will perform slightly slower than an equivalent Virtuozzo setup. But the upside is that no one else will be able to bring your websites down.
Then main point of this post is make sure you understand that all VPS hosting is not created equal. If you run websites that make a significant amount of money on a daily basis, it is in your best interests to choose a VPS based on Xen or KVM.
Recently, I switched all of my websites over to Storm On Demand which is based on KVM and they have been excellent so far! If you are currently on Virtuozzo, I encourage you to make the switch.
- When To Upgrade From Shared Hosting And Why Unlimited Bandwidth Is A Lie
- How I Chose My Dedicated Web Hosting Provider
- How Dedicated Hosting Can Actually Be Cheaper Than Shared Hosting
- Find A Webhost And Domain Name – Create A Profitable Online Store Part 1
- How To Prevent Comment Spam From Crashing Your WordPress Blog And Taking Down Your Server