125 points · by tshtf · 15y ago · 109 comments
Kids these days.
- This assumes the end user is familiar with command line usage. The typical consumer of VPSes aren't, in my experience, and rely on something like cPanel to do all administration. Which is why you can't really run on 64MB.
- The site itself doesn't take up RAM, just disk space. If you have 1024 static sites the only thing taking up ram is the configuration of the sites sitting in Apache's memory. As long as there isn't a lot of traffic on the site, it doesn't really matter how many there are.
- You could have 1 static site that has a medium amount of traffic and it would bring the 64MB instance to its knees as soon as you have more than a few concurrent connections.
Anyway, from this hoster's experience, when I get a question like "What can I run on a 64MB VPS" the easy answer is "Not much" because usually the type of person that wants to spend $3/mo on 64MB VPS instead of $7/mo for a 1GB VPS doesn't really have their priorities in place.
What? I thought it was the opposite, i.e., that typical VPS customers were familiar with a command line or had to get familiar pretty quickly :-) Do you have any data or experience to back this claim (I ask because I don't have any data to back my perception)? Maybe you are referring to managed VPS as opposed to unmanaged VPS?
Btw, the article is 2 yrs old so (should have been in the summary...).
And if you're smart about the setup, you don't even necessarily have to have a separate configuration for each site. See mod_vhost_alias for Apache, for instance. With that in place, memory is no longer an issue at all.
Apachebench on the 128mb VPS to a static page: Document Path: /index.html Document Length: 1046 bytes
Concurrency Level: 100 Time taken for tests: 0.843 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 12630336 bytes HTML transferred: 10510208 bytes Requests per second: 11867.44 [#/sec] (mean) Time per request: 8.426 [ms] (mean) Time per request: 0.084 [ms] (mean, across all concurrent requests) Transfer rate: 14637.67 [Kbytes/sec] received
The catch with very small VPS slices for me is disk performance. Small slices means more neighbors, and if a few of your neighbors are high disk use applications your disk latency can get ugly. The nasty bit is you can benchmark and check it all out when you move in, then a month later your site is suddenly a dog.
CPU has the same dynamic, but I think the virtualization platforms do a better job at "fair" for CPU, and if you are using nginx or lighttpd you don't need much so should be treated well by the scheduler.
On the other hand, more ram gives you a lot more breathing room. It is much easier to do useful things if you get the 128MiB service instead of the 64MiB service. (I charge $4 per account, and $1 for every 64MiB ram, so 128MiB is only a dollar more a month than 64)
Nick, an employee of mine, points out that the 64MiB guests are still useful because they force people to learn about every process running on the box, and to only run what is absolutely required. And he's right; that is a great thing to learn. But it is also a lot of work.
That's an old article, but LowEndBox is a fun site for checking out the bottom end of the VPS market, these days it's mostly only postings of very cheap providers ($7/month limit) the blogger has been sent or seen on WebHostingTalk. Then the ensuing discussion of how long until the company behind it goes bankrupt. 64MB VPSes like this don't really get offered anymore, while 128MB and 256MB offers are much more popular, usually in the $15-$20/year range.
$15/$20 a YEAR ?
At $0.14/GB and $1/million requests - I don't think you can get any cheaper. Or reliable, for that matter.
I know you're probably referring to options for small startups just starting out, but thought I'd share that data.
But yes it will still be cheap for most static sites like a jekyll blog or something, if you ever reach more than 130 GB of outbound transfer you have just reached the cost of an entry level linode with transfer of 200gb included.
Just for the curious, yes, you do get quite a few interruptions in your service, but the staff is pretty good about it, and it's a reasonable thing to expect given the conditions. Certainly it is OK just for learning, which is my case.
http://order.1and1.com/xml/order/VirtualServer;jsessionid=E7...
If you sign with a 1-year contract it's even cheaper. I've been using 1and1 for 5+ years and the performance is pretty good. I've only had a couple of hours of down time in those five years and support got back to me very quickly
I also looked up the VPS mentioned in the article, and noted that it's not really that cheap. There's only two price levels below $20, and $20/mo for 256MB isn't great. I got a tax-day special on Zerigo that amounts to about $20/mo for 640MB, and RackSpace Cloud has 512MB for $21.90/mo. The author of the article also mentioned getting a billing issue resolved, and I expect not to have any billing issues in the first place for web hosting. I'm more willing to give other types of services some slack but I think hosting companies ought to have this one figured out.
But this isn't a VPS option.
I had no idea. I've been calling in "ninks" all this time.
And naturally 64 MB of RAM would NOT be enough for a VPS running cPanel (or any other mainstream server control panel, for that matter).
If the user is happy to use command line though then yes, he can run 18 static sites on a 64 MB VPS.
His post doesn't mention whether he's happy to have a no-control panel VPS though, so this entire blog post (well, the basis for it) does seem to be predicated on a fairly big assumption...
Overall it's a good, informative post though.
I'm not going to try to convince you that you should use a web hosting control panel, but I will point out that millions of people, almost certainly including at least a few people who have more experience than you, disagree with you.
each site gets it's own nginx config file, domain.name.conf (replace domain.name with real domain)
databases get prefixed with the domain name (replace . with _ )
Also, I'm working on a script to handle the DNS zones for me.
WordPress can sometimes use 32M to build a page.
That kind of setup is only useful where most of your visitors are NOT logged in, since logged in users often cause cache-misses.
It actually ends with MySQL + Nginx + PHP + WordPress all running in addition to the 18 static sites, which does seem a bit unlikely to hold up very well, even if the setup shown does leave the VPS with 48MB free.
I find that most VPS hosts just install a standard distribution and expect the customer to do all the work to reduce the memory footprint, or they install memory hogging Apache + Plesk control panel configurations that are hard to change.
I think one of these providers could make a great offering by having this type of small VPS all pre-configured and ready to run as soon as it's provisioned.
"number of static sites" is marginally better - the "number of sites" in that case is meaningless - the limiting factor will be the request rate and desired response time.
I reckon you could do that with one eye shut on even the crappiest VPS.
Its so painful to see this on HN!
P.S. @spitfire -- Yeah.. thems were the days! goes to show you how old I am
I'd be inclined to believe it is not spam. Mainly because sites designed as hosts for ad-articles/spam don't tend to build up communities or stick around this long (this article is over 2 years old).
But also because the site covers multiple providers, not just this one, sometimes favourably, sometimes not, always without any real benefits to the owner. It does provide a (presumably no longer valid) referral code for the particular service discussed in this one article, but it's an extra click away from this page, and the site goes to very large pains to point out it is a referral code: http://www.lowendbox.com/blog/vpslink-february-sale-and-10-o...
Also, to my knowledge, that is the only time this site has ever used any sort of referral code, and it was fully highlighted and explained. It also wasn't an affiliate code, it could only have been used to cover the site's hosting fees with a service the site owner had been using for the last 5 years.
Basically, it doesn't smell like spam to me. But, I have been enjoying the site for a number of months before it appeared here, so I'm less suspicious.
He also doesn't make money via affiliate deals (only banner sale ads). See http://www.lowendbox.com/blog/advertisement-situation-at-low...
I hope you'll find my account acceptable from the "shill" point of view.