Asynchronous Online Gaming
Publication date: March 24, 2021 (Diagram history)
This architecture is intended for mobile and online games. These workloads are a natural fit for running on AWS due to unexpected traffic patterns and highly demanding request rates. With AWS, you can start small and scale up your architecture in response to your players. Use managed services for popular caching and database technologies to deliver the best experience for your game.
Asynchronous Online Gaming diagram
The following steps describe the architecture:
-
Use Amazon Route 53 to make sure your players can always discover your service endpoints. Use the built-in routing policies to route users based on latency or geography.
-
Route users to your backend by using Elastic Load Balancing, which scales automatically for incoming traffic. Keep player data secure in transit through HTTPS and by using the SSL termination capabilities of the load balancer.
-
Launch your web servers running on Amazon Elastic Compute Cloud in an Auto Scaling group that spans multiple Availability Zones.
-
If you separate your app tier from your web tier, use an internal load balancer. This load balancer provides additional security by residing in a private subnet and making sure no external traffic overwhelms your app tier.
-
Use Amazon ElastiCache for Redis to reduce the cost and operational overhead of running a highly available, scalable Redis cluster. Use Multi-AZ ElastiCache in your game to provide automated disaster recovery and a scalable tier with read replicas.
-
Amazon Aurora is a MySQL-compatible database that provides high read and write throughput. It supports up to 64 TB of six-way replicated storage and up to 15 low-latency read replicas across multiple Availability Zones.
-
Your game also benefits from Amazon DynamoDB, a managed NoSQL database that provides predictable performance and scalability.
-
Use Amazon Simple Storage Service to store your game assets, downloadable content, and log files generated by your servers. As your user base grows geographically, use Amazon CloudFront as a globally distributed cache for content.
-
For push notifications, use Amazon Simple Notification Service with built-in support for Apple, Google, Amazon, and Windows platforms.
Further reading
For additional information, see the following resources:
Diagram history
To be notified about updates to this reference architecture diagram, subscribe to the RSS feed.
| Change | Description | Date |
|---|---|---|
Initial publication | Reference architecture diagram first published. | March 24, 2021 |
Note
To subscribe to RSS updates, you must have an RSS plugin enabled for the browser you are using.