The System Design Newsletter

The System Design Newsletter

Share this post

The System Design Newsletter
The System Design Newsletter
Leaderboard System Design
Copy link
Facebook
Email
Notes
More
User's avatar
Discover more from The System Design Newsletter
Weekly newsletter to help busy engineers become good at system design
Over 147,000 subscribers
Already have an account? Sign in

Leaderboard System Design

Feed: Real-Time Gaming Leaderboard

Neo Kim's avatar
Neo Kim
May 31, 2023
11

Share this post

The System Design Newsletter
The System Design Newsletter
Leaderboard System Design
Copy link
Facebook
Email
Notes
More
2
Share

Thanks for reading systemdesign.one newsletter. If you're not yet subscribed, let me help you with that:

High-Level Design

When a player updates the score, the following tasks are executed:

  1. The client establishes a WebSocket connection to the load balancer for instantaneous communication

  2. The load balancer redirects the client's request to the nearest data center

  3. The server modifies the score in the sorted set data structure within Redis

  4. The serverless function updates the entries in the relational database by utilizing the write-behind cache pattern

Read the full article


Thank you for reading System Design Newsletter. This post is public so feel free to share it.

Share

Sertaç's avatar
Lou's avatar
Rishith's avatar
Reda's avatar
Temidayo Omoyajowo's avatar
11 Likes∙
2 Restacks
11

Share this post

The System Design Newsletter
The System Design Newsletter
Leaderboard System Design
Copy link
Facebook
Email
Notes
More
2
Share

Discussion about this post

User's avatar
8 Reasons Why WhatsApp Was Able to Support 50 Billion Messages a Day With Only 32 Engineers
#1: Learn More - Awesome WhatsApp Engineering (6 minutes)
Aug 27, 2023 â€¢ 
Neo Kim
730

Share this post

The System Design Newsletter
The System Design Newsletter
8 Reasons Why WhatsApp Was Able to Support 50 Billion Messages a Day With Only 32 Engineers
Copy link
Facebook
Email
Notes
More
24
How PayPal Was Able to Support a Billion Transactions per Day With Only 8 Virtual Machines
#30: Learn More - Awesome PayPal Engineering (4 minutes)
Dec 26, 2023 â€¢ 
Neo Kim
234

Share this post

The System Design Newsletter
The System Design Newsletter
How PayPal Was Able to Support a Billion Transactions per Day With Only 8 Virtual Machines
Copy link
Facebook
Email
Notes
More
14
How Stripe Prevents Double Payment Using Idempotent API
#45: A Simple Introduction to Idempotent API (4 minutes)
May 9, 2024 â€¢ 
Neo Kim
377

Share this post

The System Design Newsletter
The System Design Newsletter
How Stripe Prevents Double Payment Using Idempotent API
Copy link
Facebook
Email
Notes
More
29

Ready for more?

© 2025 Neo Kim
Publisher Privacy
Substack
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More

Create your profile

User's avatar

Only paid subscribers can comment on this post

Already a paid subscriber? Sign in

Check your email

For your security, we need to re-authenticate you.

Click the link we sent to , or click here to sign in.