0
0
HLDsystem_design~20 mins

Why scalability handles growing traffic in HLD - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
๐ŸŽ–๏ธ
Scalability Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
๐Ÿง  Conceptual
intermediate
2:00remaining
How does horizontal scaling improve system capacity?

Imagine a busy restaurant that adds more tables to serve more customers at the same time. How does this relate to horizontal scaling in system design?

ABy adding more servers to share the load, allowing more requests to be handled simultaneously.
BBy upgrading the CPU and memory of a single server to handle more requests.
CBy reducing the number of users accessing the system to prevent overload.
DBy storing all data in a single large database to speed up access.
Attempts:
2 left
๐Ÿ’ก Hint

Think about adding more workers versus making one worker stronger.

โ“ Architecture
intermediate
2:00remaining
Which component helps distribute traffic evenly in a scalable system?

In a system designed to handle growing traffic, which component ensures that incoming requests are shared fairly among multiple servers?

ALoad balancer
BFirewall
CCache server
DDatabase
Attempts:
2 left
๐Ÿ’ก Hint

Think about a traffic cop directing cars to different lanes.

โ“ scaling
advanced
2:00remaining
What is a key tradeoff when scaling vertically to handle more traffic?

Vertical scaling means upgrading a single server's resources. What is a main limitation or tradeoff of this approach?

AIt automatically distributes traffic evenly across servers.
BIt can become very expensive and has physical limits on hardware upgrades.
CIt requires adding more servers to the system.
DIt eliminates the need for a database.
Attempts:
2 left
๐Ÿ’ก Hint

Think about how much you can upgrade one computer before it stops improving.

โ“ estimation
advanced
2:00remaining
Estimate the number of servers needed to handle 10,000 requests per second if one server handles 1,000 requests per second.

If each server can handle 1,000 requests per second, how many servers are needed to handle 10,000 requests per second assuming even load distribution?

A5 servers
B1 server
C100 servers
D10 servers
Attempts:
2 left
๐Ÿ’ก Hint

Divide total requests by requests per server.

โ“ tradeoff
expert
3:00remaining
What is a major challenge when scaling a system horizontally with many servers?

When adding many servers to handle growing traffic, what is a common challenge that can affect system performance?

AReducing the number of users accessing the system.
BUpgrading the CPU of a single server.
CEnsuring data consistency and synchronization across servers.
DStoring all data on one server to simplify access.
Attempts:
2 left
๐Ÿ’ก Hint

Think about how multiple workers keep their work aligned.