Crazy Labs relied on third-party services for scoreboards, user registration, social media integrations and more for its 350+ apps, and decided they wanted to build their own mobile gaming backend to consolidate and unify gaming data for all platforms. Crazy Labs envisioned the new backend collecting users’ data, analyzing gaming behavior, gathering gaming performance and supporting scoreboards and in-play analytics. The company needed infrastructure that was scalable and low maintenance, so they could focus on building games rather than running backups, adding new servers when traffic spikes, and load balancing.
When Crazy Labs chose Google App Engine, they found that it allowed them to develop faster and had almost no learning curve. Crazy Labs developed its backend in Go, Google’s concurrent programming language, and within a few weeks was up to full speed. Go, like Python, Java and other languages, integrates seamlessly with Google Datastore, Google BigQuery and other Google services.
For code deployment, App Engine replaces outdated instances and switches live traffic to a new version while keeping existing sessions for users on the old version. When Crazy Labs launches a new version, they send it to 5 percent of users, so they can make sure everything works smoothly before pushing the change to the entire user base. This allows them to easily revert to an older version in a matter of seconds if something goes wrong in the new one.
App Engine also automatically collects and stores tens of billions of application logs and ingests them into BigQuery, so Crazy Labs can analyze them if an issue crops up.
Data analysts at Crazy Labs use BigQuery to analyze the gameplay and suggest improvements. Using standard SQL language, Crazy Labs runs queries on these terabytes of information in a few seconds to better understand and, if required, patch the game.a
After piloting App Engine on a few games, Crazy Labs will be using the new backend powered by App Engine on all of their 350 games. Crazy Labs is looking into Managed VMs, which would give them more control in certain situations while scaling the load and managing high-availability issues. “Overall, Crazy Labs can now deliver new backend features 10 times faster without dealing with infrastructure maintenance, which lets them focus on software engineering and game improvements,” says Vadim Solovey, chief technology officer of DoIT International, Google Premier Cloud Platform Partner who helps Crazy Labs with App Engine onboarding and on-going consulting.