Game Tech

Guide to Scalable Data Storage eBook

Issue link: https://read.uberflip.com/i/1440195

Contents of this Issue

Navigation

Page 3 of 22

MySQL 4 MySQL is the most widely adopted open- source relational database. With more than 20 years of community-backed development and support, MySQL is a reliable, stable, and secure SQL-based database management system. These advantages continue to make MySQL attractive, especially for aspects of gaming like account records, in-app purchases, and similar functionality where transactions and data consistency are paramount. Even gaming companies using NoSQL offerings, such as Redis and DynamoDB, frequently put transactional data like accounts and purchases in MySQL. If you are using MySQL on AWS, we recommend that you use Amazon Relational Database Service (RDS) to host MySQL. This can save you valuable deployment and support cycles. Amazon RDS for MySQL automates the time-consuming aspects of database management, like launching Amazon Elastic Compute Cloud (EC2) instances, configuring MySQL, attaching Amazon Elastic Block Store (EBS) volumes, setting up replication, running nightly backups, and so on. In addition, Amazon RDS offers advanced features, including synchronous Multi-AZ replication for high availability, automated master-slave failover, and read replicas for increased performance. To get started with Amazon RDS, see Getting Started with RDS. TRANSACTIONS MySQL provides support for grouping multiple changes into a single atomic transaction that must be committed or rolled back. NoSQL stores typically lack multi-step transactional functionality. ADVANCED QUERYING MySQL speaks SQL, which provides the flexibility to perform complex queries that evolve over time. NoSQL databases typically only support key-value access or access by a single secondary index, meaning you must make careful data design decisions up front. SINGLE SOURCE OF TRUTH MySQL guarantees internal data consistency. Part of what makes many NoSQL solutions faster is distributed storage and eventual consistency. (Eventual consistency means you could write a key on one node, fetch that key on another node, and have it not appear there immediately.) EXTENSIVE TOOLS MySQL has been around since the 1990s, and there are extensive debugging and data analysis tools available for it. In addition, SQL is a general-purpose language that is widely understood. 1 . 1 M Y S Q L As an ACID-compliant relational database, MySQL has the following advantages:

Articles in this issue

Links on this page

view archives of Game Tech - Guide to Scalable Data Storage eBook