Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

On Ecommerce and Hybrid Cloud Computing

DZone's Guide to

On Ecommerce and Hybrid Cloud Computing

Free Resource

Learn how our document data model can map directly to how you program your app, and native database features like secondary indexes, geospatial and text search give you full access to your data. Brought to you in partnership with MongoDB.

Traditionally ecommerce companies have had no place in the cloud. The lack of established standards, multi-tenancy nature and need to be PCI compliant have been three large barriers to entry for any organization exploring this possibility. Recently many e-commerce companies (including OpenSky) have begun to implement a hybrid approach to infrastructure mixing traditional data centers with cloud offerings to achieve a best of both worlds solution.

Here’s how I approached this when I was at OpenSky.

1. Databases on Metal

For certain operations operating directly on servers in your own data centers still makes sense. IO heavy operations such as databases continue to see considerably better performance benefits from operating directly on the hardware. Additionally these machines benefit from specifically tuned hard drives and controllers built with higher IO in mind. For all the right reasons, the virtualized and commoditized cloud can’t and won’t compete here, it’s just not cost effective for them to do so.

2. Vital in house

I’ve been a cloud customer far too long to depend on it’s reliability. Cloud servers can and will fail. It’s been my experience that this happens at a much higher rate than traditional servers. When uptime is the most essential, a traditional approach will serve you better.

3. Appendages in the cloud

I’ve always been a big believer in using the best tool for the job. Use the cloud for what it’s built to do. Not everything is vital. There are many supporting pieces of your infrastructure where perfect uptime isn’t critical. What the appendages are will depend entirely on your business. At OpenSky we currently operate our blog and marketing servers on EC2. We leverage S3 for archival backups. We utilize email delivery servers on the cloud. This is a small set of what we will eventually have there, but it provides a good insight into our approach.

4. Scale in the cloud

By operating a core selection of servers in house it enables us to scale up our web nodes in the cloud. Since our ecommerce application isn’t particularly database heavy (thanks in large part to mongoDB) our scalability bottleneck is on our web servers. Keeping a core set of them in house to handle things like checkout and administrative operations permits us to scale the bulk of our traffic to the cloud.

Discover when your data grows or your application performance demands increase, MongoDB Atlas allows you to scale out your deployment with an automated sharding process that ensures zero application downtime. Brought to you in partnership with MongoDB.

Topics:

Published at DZone with permission of rouletteroulette rouletteroulette. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}