Archive for the ‘amazon’ Category

Web 2.0 Summit: Jeff Bezos

Wednesday, November 8th, 2006

Jeff Bezos just gave a great presentation and had an interesting chat with Tim O’Reilly here at the Web 2.0 Summit. I’ve written about Amazon’s web services a few times, including the BusinessWeek cover story this week.

In case you don’t want to read the long-winded version, here’s a summary of what I think is really going on here:

  • Amazon Web Services isn’t some strange deviation from Amazon’s core business. Instead, it’s an evolution of their business that makes a lot of sense. They’ve learned to scale datacenters well, and companies like ours don’t want to have to learn those same lessons, so we can build on Amazon. Amazon makes money, we save time (which is money) and get to focus on our application, and everyone wins.
  • Google gets a lot of press for building a “WebOS” as they release web-based replacements for desktop applications. But they’re really focused on client-side desktop replacements, whereas Amazon is really focusing on backend, server-side recplacements. It’s less glamorous to the average consumer, but far more glamorous to anyone who needs those services to build their company.

I’m not sure everyone grasps how truly huge this is. I suppose that’s good, since we do and it gives us an edge.

Amazon + Two Guys + $0 = Next YouTube

Saturday, November 4th, 2006

The next YouTube will be built on Amazon’s Web Services by two guys in a dorm for roughly $0.

BusinessWeek: Amazon's Risky Bet

BusinessWeek has an article up about Amazon’s push into web services. GigaOM’s got a little coverage, and I see it spreading a bit over on TechMeme and TailRank.

SmugMug in BusinessWeek

We’re in the article, since we’re a big believer in this “new” vision of Amazon’s. Amazon calls the stuff they’re exposing the “muck” of doing business online, and I think it’s a perfect term. Some people see this as some radical departure from Amazon’s core business, but I don’t at all. Just like much of Amazon’s business, it’s an evolution. They began as a bookstore online (no-one remembers this, but they weren’t the first. BookStacks was relatively huge when Amazon launched), and eventually evolved by adding more and more products. They sell nearly everything, including groceries, now.

Why? Because once they had some of the infrastructure built to sell books, it made sense to add DVDs and CDs. And then once that was built, it made sense to add electronics and video games and gardening supplies and everything else under the sun. Why? Because they had even more infrastructure built. The average person doesn’t appreciate just how difficult the fulfillment piece of Amazon is, from warehousing, inventory control, packing, and shipping, but those who do boggle both at how difficult it is and at how well they do it. May as well leverage that expertise across other product lines where it makes sense, right?

Along the way, they also happened to get extremely good at systems. My father co-founded and successfully ran a direct competitor to Amazon, fatbrain.com, so we got a good, close look at just how good they were. While eBay was having massive outages, Amazon continued to purr along, scaling well and fast. When Toys R Us had a disastrous holiday season one year because they couldn’t scale their systems, who did they call? That’s right, Amazon.

I don’t have any direct knowledge of the chain of events, but I’ll bet it was something like that which caused the initial light bulb to start glowing. Dimly, at first, but glowing none-the-less. The thought process probably went something like this: “Hmm, you know, this letting other businesses like Target, Borders, and Toys R Us build their businesses on ours is turning out to be a good deal. It leverages our existing infrastructure and knowledge to grow our sales. I wonder how we can let other businesses build and grow on ours?”

Enter Amazon Web Services, zShops, Marketplace, and the other programs to let people sell things on Amazon without actually being a part of Amazon. The first Web Service, E-Commerce Services (ECS), allowed anyone to build their own shop online, using their own URL and look-and-feel to sell, say, TVs. But Amazon would handle all the nasty bits of the process, like actually acquiring and shipping the TVs. To use their terminology again, the “muck” of running an online retailer was taken out of the equation – the online TV shop could focus on customer acquisition rather than fulfillment headaches.

From there, it’s really a fairly small step, rather than a giant leap, for Amazon to say “Hey, we really like people building their businesses on ours. What else do we have hiding around here that would help businesses out?” And it turns out the answer revolves around their other core knowledge and infrastructure investment: datacenters, storage, and servers. Just like physical fulfillment, Amazon is one of the few truly experienced web-scale companies in the world. And just like physical fulfillment, the more volume you do, the more efficient you can get and the more you can lower costs. (Assuming you’re talented, that is, which is a large assumption).

As Amazon ships more items, they get better shipping rates. As they buy more bandwidth, they get better bandwidth rates. And that doesn’t even take into account the knowledge, software, and other intangibles that continue to get more precise as they scale, both in their warehouses and their datacenters.

It’s sorta silly that some of this stuff hasn’t become a commodity already. I think if you took a close look at how SmugMug has built and scaled, say, storage and how Flickr or YouTube or any other recent startup has, you’d see we’ve all done it in remarkably similar fashions. We’re all re-inventing and re-building the same wheel, over and over again. And it’s expensive, time consuming, and not core to our value proposition – except that without it, we can’t build our business. In other words, it’s “muck.”

At SmugMug, we want to focus on the customer experience, from user interface to customer service, and not have to worry about storage. For us, it’s a necessary evil that detracts from our ability to deliver better features faster. We’re actively investigating plenty of other web services at Amazon, both announced and otherwise, and are extremely excited about how much more time we’ll be able to spend with our customers instead of our datacenters.

Finally, I think it’s worth mentioning that we love web services of all shapes and sizes. We publish our own API, we consume web services from Google and Yahoo already, and we plan to add more to the mix. But while everyone else’s web services allow us to add whizzy features, like Google Maps, or Yahoo’s Geocoder, Amazon’s solve real hard problems down deep where no-one will notice them. The “muck.”

They’re really building the very foundation of future web applications.

Quickies: Hack Day, Sun T1000, Amazon S3

Thursday, October 5th, 2006

Really quick…

Yahoo! Hack Day

SmugMug was in the house at Hack Day 2006, and we had a great time! Many thanks to Yahoo for putting on such a great event – we learned a lot about Yahoo technologies and put together a great demo. Anytime they want to throw another one, we’ll be there. Fantastic group of people over at Yahoo.

Best part about it is that our demo will shortly be a shipping product our customers will love and that’ll generate extra revenue for our company. Oh, and BigWebGuy got his official hazing there at Hack Day – he coded for 36 hours straight (no sleep!) his first week on the job even though he was sick! Welcome to the family, Lee!

Sun T1000

The Sun T1000 is very much still on our radar. I don’t want to do an in-depth update until we’re absolutely sure about what’s going on, but here’s a short summary of where we are.

I spent 5 hours over at Sun a few days after our initial results were posted with some very intelligent people. They were as perplexed at the results as I was, and were determined to get to the bottom of it. The good news is we now have a T1000 running Solaris side-by-side with a T1000 running Ubuntu which is side-by-side with our dual dual-core Opteron running Red Hat. The bad news is the Sun guys weren’t able to coax any more performance (yet!) out of the T1000.

We have a theory that we might be saturating the GigE port with raw # of interrupts per second, so it’s getting throttled there and starving the CPUs. So we have a gameplan for what to attack next – I’ve just been too swamped to deal with it for the last few weeks. We’ll get to it, though, I promise and I’ll share all the details.

Amazon S3

I still haven’t posted the in-depth technical details and code samples I promised about our use of Amazon S3, but fear not – I’m actively working on it and will post it as soon as it’s done.

Just wanted you to know I hadn’t forgotten about you. :)

Incidentally, Jeremy Zawodny is playing around with using it for his personal backup storage. Sounds sweet!

Amazon S3 = The Holy Grail

Saturday, August 12th, 2006

I should have posted this a few weeks ago, but better late than never. We now use Amazon S3 for a significant part of our storage solution. We’re absolutely in love with it – and our customers are too (even if they don’t know it).

As you probably know, SmugMug has been profitable since our first year, with no investment capital. We’ve had a great track record for keeping our customers’ priceless photos safe and secure using only the profits we’ve accrued to purchase our storage (yes, I said purchase. We have no debt – we own all of our storage, we don’t lease). And every SmugMug customer gets unlimited storage – so that’s no mean feat. (Currently, unlimited means ~300TB of storage and nearly 500,000,000 images. To put that into perspective, that’s more than 65,000 DVDs or 480,000 CDs).

But Amazon’s S3 takes our storage architecture to the next level:

  • Your priceless photos are stored in multiple datacenters, in multiple states, and at multiple companies. They’re orders of magnitude more safe and secure.
  • We’d already built a custom, low-cost commodity-hardware redundant scalable storage infrastructure. Nonetheless, it’s significantly cheaper to use S3 than using our own – especially when you factor multiple states & datacenters into the equation.
  • Perhaps even more importantly, our cash-flow situation is vastly improved. Instead of paying $25,000 for a handful of terabytes of redundant storage up-front, even before they’re used, we now pay $0.15/GB/month as we use it.
  • When we have some sort of internal outage with storage, it doesn’t matter – Amazon’s always on. They eat their own dogfood – S3 is in production use on dozens of Amazon products. We’ve had storage-related internal outages a few times already, and our customers haven’t been able to tell. We’ll still have rare outages on our site, unfortunately, (everyone does), but storage is now vastly less likely to be part of the cause.
  • I started writing our S3 interface on a Monday, and by that Friday, we were live and in production. It really is that simple to pick up and use, and it was basically a drop-in addition to our existing storage.
  • It’s fast. I don’t mean 15K-SCSI-RAID0-fast, but I do mean internet-latency-fast. It’s basically as fast as our internal local storage + the roundtrip speed of light to Amazon. I can measure the difference with computer timing, but in blind tests, humans haven’t been able to tell the difference. Everything we serve from Amazon feels fast.

I hate to admit this, but Amazon has built a playing-field leveler. It’s now much much easier for a competitor of ours to spring fully-formed from two guys in a garage than it was. Anyone who doesn’t get on board with Amazon S3 (or the inevitable S3 competitors) may get left behind. I’m glad we’re first, but I doubt it’ll last.

Tim O’Reilly, technology visionary extraordinaire, recently said of Sun’s new ‘Thumper’, the Sun Fire X4500: “This is the Web 2.0 server.” While I think Tim has perhaps the clearest vision in the industry, and the Thumper does truly look awesome, this time I think he may have missed the mark. The Web 2.0 server is *any* cheap Linux box coupled with utility storage like S3.

Initially this post had a lot of technical detail (I am the ‘Chief Geek’, afterall), but I removed it since it was probably getting boring. So this is the quick-and-dirty ‘Business Case for Amazon S3 and How it Helps our Customers’ post. If there’s enough interest, I can write up a detailed post about exactly how we use S3, how it works in conjunction with our own local distributed filesystem, and post our S3 library (which was derived from someone else’s). Post in the comments if that’s of interest.

Also, we’ll be presenting at a storage conference in Florida in late October (I’m sorry, I don’t have the name of the con with me, but I’ll update this post when I do), and have had a few other people request conferences talks on the subject. Comment if that’s of interest, too, so we know where to go speak.

Finally, one last geek thought: Anyone using the SmugMug API is now actually using multiple APIs through ours (depending on what you’re doing, you may be using Google and/or Yahoo, but you’re almost certainly using Amazon). The stack continues to grow.

UPDATE #1: In response to a comment below, I don’t feel like we “bet the company” on S3 – every photo our customers entrust us with, we keep local copies in our existing distributed storage infrastructure. We use S3 as redundant secondary storage for use in cases of outages, data loss, or other catastrophe.