logo

设计 Leaderboard 系统(2)

How to update the score of a player on the leaderboard?

Figure 6: How the leaderboard updates the score of a player?
notion image
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:
本章目录
    1v1免费职业咨询