Live data from Hacker News

Comparing Amazon EC2 to Joyent SmartOS

mattconnolly.wordpress.com

11–20 of 58 posts

Re: Comparing Amazon EC2 to Joyent SmartOS

#11
post #5

From the article (its conclusion) : "Amazon need to lift their game in terms of CPU performance. They offer a great service that obviously extends far beyond a simple CPU benchmark. But when you can get the same work done in Joyent significantly faster for the comparable price, you’ll get far more mileage per instance, which is ultimately going to save the dollars." Or, "Wow, Amazon sure makes bank on this EC2 stuff,…

That, $0.2cents/second of course, is on the margin. The real challenge to doing this is, of course, not the hardware/hvac/colo costs, but the several millions (tens of millions?) of dollars associated with building the software infrastructure required to scale/deploy the CPU/Storage/Services dynamically. And then there is the well staffed devops/NOC environment required. And the single-minded dedication to building these services so reliable, that you can run your primary business on. Oh, and course having a massively scaled business to both offset all those devops/noc/engineering efforts, and beta-test your scaling environment/server/storage infrastructure.

Other than Amazon, I can only think of Google being in a position in which such an enterprise can take off.

We tried this at Loudcloud, and it turns out you need more than a bunch of smart people, lots of money, and single-minded focus towards building on-demand infrastructure.

Re: Comparing Amazon EC2 to Joyent SmartOS

#12
post #5

From the article (its conclusion) : "Amazon need to lift their game in terms of CPU performance. They offer a great service that obviously extends far beyond a simple CPU benchmark. But when you can get the same work done in Joyent significantly faster for the comparable price, you’ll get far more mileage per instance, which is ultimately going to save the dollars." Or, "Wow, Amazon sure makes bank on this EC2 stuff,…

[deleted]

Re: Comparing Amazon EC2 to Joyent SmartOS

#13
I recently tried out Joyent SmartOS for a NodeJS consulting gig I'm doing. After about 30 seconds, I killed the vm and switched to Ubuntu 12 server.

I don't care if SmartOS is 'faster' or has dtrace. The fact that it is missing basic things like top (no prstat isn't anything close to top) and 'standard' things like upstart made me want to run for the hills. The Joyent wiki documentation on SmartOS is abysmal at best. Even the pkgsrc repository system feels ancient and pales in comparison to what apt is. I have no desire to spend time re-inventing basic tools that linux has had for ages.

The image version of SmartOS w/ NodeJS isn't up-to-date with the latest Node release and it starts up MongoDB by default. While this may be good for just getting things running quickly, what happens if I don't want Mongo running at all? Generate my own images? No thanks.

I know, lots of hate... but it isn't all bad. Joyent as a cloud platform is great. Basic ab testing against NodeJS had me serving 9900 concurrent connections without any issues on their least expensive vm (which runs on a blazing fast network at 10gb/s). We were on Rackspace before and with a network limited to 20Mbps/s (at the lowest tier) we just couldn't get the throughput we needed.

tl;dr: SmartOS is a train wreck. Don't waste your time. Joyent as a platform is great. Why bother with EC2 when Joyent is faster and less expensive?

Re: Comparing Amazon EC2 to Joyent SmartOS

#14
Running a benchmark on services like this can be really tricky.

It really depends on which cluster you were allocated and what other applications were running at that time. If someone else was running a heavy process at the same time, then that could explain some of the sluggishness..

Even still, the numbers are so drastically different that this question does deserve a second look. Someone from Joyent or EC2 should really put together a solid benchmark to prove once and for that their service is indeed better in a wide range of compute and networking categories.

Re: Comparing Amazon EC2 to Joyent SmartOS

#15

I recently tried out Joyent SmartOS for a NodeJS consulting gig I'm doing. After about 30 seconds, I killed the vm and switched to Ubuntu 12 server. I don't care if SmartOS is 'faster' or has dtrace. The fact that it is missing basic things like top (no prstat isn't anything close to top) and 'standard' things like upstart made me want to run for the hills. The Joyent wiki documentation on SmartOS is abysmal at best.…

You can very easily install whatever version of Node.js you want using this bash script: https://gist.github.com/a0d40f1ff1679ed582a5. Also, MongoDB isn't even installed by default on the Node.js instance.

Re: Comparing Amazon EC2 to Joyent SmartOS

#16

Anybody else want to share their experience with Joyent versus EC2? I'm considering doing the switch as my EC2 bill is getting a little expensive.

We've been using Joyent in production for close to a year (coming from dedicated servers and EC2), and we've had nothing but an outstanding experience.

Re: Comparing Amazon EC2 to Joyent SmartOS

#17
post #15

I recently tried out Joyent SmartOS for a NodeJS consulting gig I'm doing. After about 30 seconds, I killed the vm and switched to Ubuntu 12 server. I don't care if SmartOS is 'faster' or has dtrace. The fact that it is missing basic things like top (no prstat isn't anything close to top) and 'standard' things like upstart made me want to run for the hills. The Joyent wiki documentation on SmartOS is abysmal at best.…

You can very easily install whatever version of Node.js you want using this bash script: https://gist.github.com/a0d40f1ff1679ed582a5 . Also, MongoDB isn't even installed by default on the Node.js instance.

http://wiki.joyent.com/wiki/display/jpc2/SmartMachine+Node.j... v1.4.0 "This version now runs MongoDB by default"

As for your bash script... I stopped compiling binaries ages ago, why would I want to start again when I can just use Ubuntu and the official NodeJS PPA?

Re: Comparing Amazon EC2 to Joyent SmartOS

#18

- No one pick a host based on a single microbenchmark, please. Game out what your app would need to achieve your target performance level with what each host offers. Amazon still might lose (sounds like that happened with TripAdvisor) but at least you've made your decision a sane way. - For the best price, you'd want to use a reserved instance if this is a webserver, and perhaps a spot instance if it's a batch/HPC ta…

Did the math on how to get cheaper ECU-hours from Amazon. Prices below are per ECU-hour, not per instance-hour; '1yr' is the one-year reserved instance price with the upfront cost amortized; 'spot' is the spot price in the US West (Oregon) region when I looked just now.

Small: 6.5 cents/ecu-hr

Small, 1yr: 4.7 cents/ecu-hr

Small, spot: 1 cent/ecu-hr

High-CPU: 3.3 cents/ecu-hr

High-CPU, 1yr: 1.9 cents/ecu-hr

High-CPU, spot: 0.56 cents/ecu-hr

If RAM matters, high-CPU (7G, or 3.5/core) > Small (1.7G) > EC2 Micro and Joyent extra-small (~0.5G). Again, don't rely too much on figures like these; look at all your needs (not just performance, everything) and try to figure out what'll work for you.

Re: Comparing Amazon EC2 to Joyent SmartOS

#19
post #8

I haven't tried out Joyent, but I've tested out Linode and Storm-on-Demand and they easily beat Amazon EC2. My benchmark was running our production image processing algorithm that utilizes OpenCV via python on Ubuntu Server (definitely CPU-limited). FWIW, here are my benchmarks, along with pricing for Northern California regions: Linode 512: 15.2 seconds, 65 cents per day Storm-on-demand 1 GB: 13.05 seconds, 5 cents…

That's very interesting! I converted the prices to be in the same units and did some calculations for better comparison.

Linode Cost per day: $0.65 Time per image: 15.2 Images per day: 5684.2105263158 Cost per image: $0.0001143519 Images per dollar : 8744.9392712551

Storm-on-demand Cost per day: $1.2 Time per image: 13.05 Images per day: 6620.6896551724 Cost per image: $0.00018125 Images per dollar : 5517.2413793104

EC2-micro Cost per day: $0.84 Time per image: 168 Images per day: 514.2857142857 Cost per image: 0.0016333333 Images per dollar : 612.2448979592

EC2-small Cost per day: 2.16 Time per image: 63 Images per day: 1371.4285714286 Cost per image: 0.001575 Images per dollar : 634.9206349206

EC2-medium Cost per day: $4.464 Time per image: 12.13 Images per day: 7122.8359439407 Cost per image: 0.0006267167 Images per dollar : 1595.6173709545

Re: Comparing Amazon EC2 to Joyent SmartOS

#20

Anybody else want to share their experience with Joyent versus EC2? I'm considering doing the switch as my EC2 bill is getting a little expensive.

If you serve the US market Joyent is maybe good, if you serve the EU market you have way better deals with EU providers. Joyent have some servers in EU but they are just collocating. EC2 is available worldwide for good latency.

Joyent love micro benchmarks because they allow one customer to grab a lot of CPU in burst, but if you are one of the other customers on the same hardware node, it is better to have a bit slower all the time than high variability like Joyent. Predictability when you run your infrastructure is better.

Also, Joyent will kick you out of their infrastructure if they consider at their sole discretion that they are not making enough money out of you, but this is my personal experience and may not be yours. So basically, they broke the trust I placed in them, I am migrating out at the moment, so take my comment as coming from someone with a bad experience with them.

Post reply on HN