Greenlets for lightweight concurrency, threads for preemptive concurrency and processes for parallelism / isolation.
106 karma · joined March 28, 2007
Greenlets for lightweight concurrency, threads for preemptive concurrency and processes for parallelism / isolation.
[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13...
[2] http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14...
But I've had VPS's on three different physical servers with them and they were all starved for disk IO. They take quad core servers with 16-32GB of RAM but only put two 7200 RPM IDE drives in them. A 7200 RPM IDE drive is good for about 120 I/Os per second, so if the server has 20 users you get a whopping 6 I/Os per second.
Check it out:
$ time ls -l /etc /dev/null
real 0m12.530s user 0m0.004s sys 0m0.046s
12.5 seconds to list a directory with ~150 files. This is from a VPS account I have with them with nothing running on it.
To be fair, most VPS hosting probably sucks just as bad.
VPN in your gateway box at home and it is almost like having the servers in the other room. They don't charge you anything for data that goes over the VPN, so you can upload/download from your server without using your bandwidth quota - it is a great for pulling off site backups.