Lessons From FarmVille: How Zynga Uses The Cloud - InformationWeek
Software // Operating Systems
05:00 PM
Connect Directly

Lessons From FarmVille: How Zynga Uses The Cloud

Zynga's hybrid cloud strategy helps it cope with the risk of unpredictable demand for new online games.

On November of last year, CityVille made its debut. It was the latest social networking game from Zynga, a company founded in 2007 that roared to success on Facebook's coattails, since many players first join one of its games and share their activity on Facebook. Late last year, Zynga already had well over 100 million people playing the likes of FarmVille, where they compete and share tips on things like how to grow the best virtual potatoes and sell virtual pigs, and CityVille, which lets friends build virtual neighborhoods together.

Zynga IT staff watched participation on CityVille build slowly the first few days--at that pace, it might have taken two years to reach the first million participants. Then registration started to ramp up. Four months after launch, CityVille had brought 20 million new users to Zynga's daily computing workload.

Planning data center capacity for that kind of unpredictability is a slippery exercise. That's why Zynga instead launches games using Amazon's EC2 infrastructure as a service, so it pays only for the capacity it uses and is ready for spikes. But that's not the end of the story. Once a game hits a more predictable level, Zynga brings it in house, onto what it calls Z Cloud, servers it runs using a private cloud architecture similar to what Amazon runs.

This ability to invoke and coordinate both private and public clouds is "the hidden jewel" of Zynga's success, says Allan Leinwand, CTO of infrastructure engineering at the company. And it's also an architecture that might work for more conventional businesses, in certain situations.

Zynga is an example of an infrastructure strategy that some dub "scale fast or fail fast." The goal is to have all the capacity you might need at the moment a new product is launched, but without buying all the servers, storage, and networking. CityVille could have flopped. And if it had, Zynga would have preferred it to happen on rented-by-the-hour servers in the cloud, which can be decommissioned quickly.

Zynga's approach turns conventional cloud computing thinking on its head. The most frequently mentioned case for the hybrid approach of blending private and public clouds is "cloud bursting," where the in-house data center runs the bulk of the load, spots a spike building, and offloads that extra work to the public cloud. Zynga does the opposite, launching games in the cloud when demand is lowest--as is predictability.

But Zynga has some advantages in using cloud computing that typical enterprises don't. Zynga does one thing: It delivers variations of a Web gaming application with a social networking flavor, even if it's for hundreds of millions of different people. Having been built from scratch for this cloud computing environment, it also doesn't have the problems of integrating with a lot of legacy software and data.

Yet thanks to its experience living immersed in this hybrid cloud environment, Zynga may help or inspire IT teams as they consider new approaches, including coping with cloud outages, like the one Amazon and its customers experienced in late April.

Have you scooped out the impact of a cloud service on your Internet-facing architecture?

1 of 6
Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
How Enterprises Are Attacking the IT Security Enterprise
How Enterprises Are Attacking the IT Security Enterprise
To learn more about what organizations are doing to tackle attacks and threats we surveyed a group of 300 IT and infosec professionals to find out what their biggest IT security challenges are and what they're doing to defend against today's threats. Download the report to see what they're saying.
Register for InformationWeek Newsletters
White Papers
Current Issue
2017 State of the Cloud Report
As the use of public cloud becomes a given, IT leaders must navigate the transition and advocate for management tools or architectures that allow them to realize the benefits they seek. Download this report to explore the issues and how to best leverage the cloud moving forward.
Twitter Feed
InformationWeek Radio
Archived InformationWeek Radio
Join us for a roundup of the top stories on InformationWeek.com for the week of November 6, 2016. We'll be talking with the InformationWeek.com editors and correspondents who brought you the top stories of the week to get the "story behind the story."
Sponsored Live Streaming Video
Everything You've Been Told About Mobility Is Wrong
Attend this video symposium with Sean Wisdom, Global Director of Mobility Solutions, and learn about how you can harness powerful new products to mobilize your business potential.
Flash Poll