0% found this document useful (0 votes)
35 views

system design

Uploaded by

kunicn
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

system design

Uploaded by

kunicn
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

System Design

Simplified
Weather Forecasting App
APIs act as a bridge that allows different systems to
communicate and exchange data, regardless of the
underlying technologies.
API
Application Programming Interface
Basic Architecture

Request

RESTful

SOAP
Request

GraphQL

Request gRPC
Consumers / Requester API Server
SOAP
REST
GraphQL
gRPC
Event Driven Architecture
Why
Why
Why
Solution
Key Concept
Types of implementation

Pub/Sub Point to Point


Event Streaming
messaging messaging
Point to Point
Pub/Sub
Event Streaming
CAP Theorem
Partition Tolerance
CP AP AC

Financial Social Media Unrealistic for


Transactions Followers Distributed System
Practical Design
Experience
Tournament
Management System
Design a Tournament Management System that supports
managing tournaments for various sports, including team
registrations, match scheduling, score updates, and leaderboard
management.

The system should handle millions of users across different


regions while ensuring high availability and data accuracy.
Functional Requirement

● User Management ● Leaderboards and Statistics


● Tournament Management ● Notifications
● Match Scheduling ● Live Streaming and Updates
● Participant Management ● Reporting
● Score Management ● Payment Processing
Spectator Team Manager

Player
User Types

Admin Scorer
Functional Requirement

● User Management ● Leaderboards and Statistics


● Tournament Management ● Notifications
● Match Scheduling ● Live Streaming and Updates
● Participant Management ● Reporting - Stats
● Score Management ● Payment Processing

Player
Admin Team Manager Scorer Spectator
Back of the Envelope Calculation

● 10 city
● 50 communities/city

Number of users
Number of Number of users Number of users Number of users 1000 x 500 =
users 10000 x 5 = 20 x 500 = 10000 5 x 500 = 2500 500000
10 x 50 = 500 50000

Player Spectator
Admin Team Manager Scorer
Next Session

System Design for Data Resources


Engineers

System Design Interview Tips QnA


THANKS!
Any questions?
You can find me at
● /in/safaruque
● safi[email protected]

You might also like