How to update the score of a player on the leaderboard?
Figure 6: How the leaderboard updates the score of a player?
Web services can be substituted with serverless functions for minimal operational overhead. The cache server and relational database should be configured for active-active geo-replication to enable each data center to accept writes. A global load balancer can be provisioned to distribute the client requests. The stateless web server can be replicated across data centers for scalability12. The following operations are performed when a player updates the score: