Retaining globally distributed high availability
This session will explain how Spil Games implemented a global cross datacenter storage solution with MySQL as one of the key elements of its new architecture.
To give our users the best experience possible we needed to expand our datacenters globally and bring data closer to our users. This requires a new way of thinking and a complete overhaul of our architecture in both front- and back-end. When we started building our new architecture over a year ago where we also took into account that failure is bound to happen sometime. The new architecture has been built with failure in mind: we can cope with split brain scenarios and even with a full datacenter outage.
We achieved all this by building Master datacenters containing the persistent storage and Satellite datacenters containing memory-based storage. This approach required new techniques like write-through for inter-datacenter writes and enabled us to implement asynchronous (fire and forget) writes to our persistent layer. The architecture is being built with MySQL, handler sockets, Erlang, Memcache, Openstack and hybird cloud as its building blocks.
Spil Games is a (social) gaming company that grew in a short time from an internet startup to a global online gaming leader.