Grokking the System Design Interview
Ask Author
Back to course home

0% completed

Vote For New Content
Another question that came up in my mind:we calculate the scale of the system in...

Nevil

Apr 26, 2022

Another question that came up in my mind:

we calculate the scale of the system in every example. What's the importance/use of it? Of course it does tell the interviewer that candidate can think in terms of scalability of individual components - like storage, cache etc. ; unless one has designed lots of systems and knows benchmarks around such numbers, this wont help much? Thoughts?

6

0

Comments
Comments
Arslan Ahmad
Arslan Ahmad3 years ago

Estimations, overall help you understand the scale and non-functional requirements of the system being designed.

For example, if we are storing a lot of data, we should consider data partitioning techniques. But if the data the system is storing is small, as is in th...

On this page

  1. Why do we need URL shortening?

Try it yourself

Designing URL Shortener (video)

  1. Requirements and Goals of the System
  1. Capacity Estimation and Constraints
  1. System Interface Definition
  1. Create Short URL API
  1. Redirect API
  1. Analytics API
  1. URL Management API
  1. Delete Short URL API
  1. Database Design
  1. Basic System Design and Algorithm

a. Encoding actual URL

b. Generating keys offline

  1. Data Partitioning and Replication
  1. Cache
  1. Load Balancer (LB)
  1. Purging or DB cleanup
  1. Telemetry
  1. Security and Permissions