A visit to the Angry Birds store in the Amazon cloud
A Well-Feathered Nest
Thanks to the scalability of Amazon's web services, the Angry Birds shop and its databases do not fail even when visited by a teaming mass of bird lovers.
Rovio became known in 2009 with a small game that first appeared as a smartphone app. In the game, angry birds cause buildings to collapse with full wing power. Today, the Finnish company mainly generates revenue with T-shirts, cuddly toys, and key rings. Up to a million users a day visit the Angry Birds store in the cloud. At peak times, 5,000 visitors might be online at the same time, and the system processes multiple orders per second.
Rovio relies on Magento, an open source application for e-commerce, and combines it with Amazon Web Services (AWS) to operate the shop economically in quieter times. Rovio's Magento universe consists of the store with front ends for Europe, Asia, and America.
Integration to an external system exists to global warehouse management, shipping, a DRM server for licensing games, an email and gift card service, and the payment service Braintree.
Always Like New
Many online store owners can calculate the load on their systems fairly easily, but the Rovio store must be prepared for a very high volume of visitors when new products appear or a new ad campaign begins.
At the beginning of the project, Rovio, in collaboration with AOE media, decided to run the Angry Birds store in the form of agile software development and to add new releases constantly – a practice known as continuous deployment. Each element is treated as a software project and tested both automatically and manually; after each change, the system rebuilds the website completely from scratch.
Continuous deployment requires a sophisticated system for automatic quality assurance and rollout. It also needs to be capable of migrating new functions, modules, templates, and layout changes from test to production systems within minutes.
Rapid Testing
In the case of Rovio, the developers retrieve the current version on the site from system storage before starting work. Changes to the website flow back into backup storage. The modified site is then merged with the site operators' images and texts, which are waiting in backup storage.
After the first unit tests, the developers install the site on the "Latest System" where further tests follow (Figure 1). The site is then pushed to a staging server in the S3 cloud and, after final integration tests, ends up on the production system. All builds of the website, whether automatic or manually supported, are handled by the free Continuous Integration Server, Jenkins CI [1].
AWS at Your Service
The entire Angry Birds store infrastructure is virtualized on Amazon's Web Services. At the touch of a button, AWS provides databases (MySQL, Oracle, MS SQL Server) in different versions and also offers the option of automatically merging upgrades to minor versions.
The capacity of the database server can be flexibly modified after setup, although this causes downtime – it takes about 10 minutes to get a new database instance up and running. At the press of a button, snapshots can be created, from which the operators can generate new databases as needed.
At the same time, Amazon permanently creates backups of the latest versions. Restore point in time
lets you revert to earlier states. The company also guarantees high redundancy and availability, configurability of the Security Group [2] for hardening the database against external access, and a guaranteed number of I/O operations per second (provisioned IOPS). This setup provides a very good basis for a fully virtualized web store. CloudWatch [3], the integrated monitoring tool provides a comprehensive overview of the state of the system at any time.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.