Interview Bootcamp
Vote

0% completed

​

Scalability

Your team runs a website that sells tickets for soccer matches. On a normal day, about 2,000 people visit it. Then tickets for a cup final go on sale. In the first ten minutes, 200,000 people open the site at the same time.

The pages slow down. Then the server stops answering, and most people never get a ticket.

The code did not change. Only the amount of work changed. This lesson answers two questions. How does a system handle more work as it grows? And how should we design it so that adding machines actually helps?

.....

.....

.....

Like the course? Get enrolled and start learning!
Venkat Ramana

Venkat Ramana

· 4 days ago

at the paragraph : Scalability is not the same as speed. Performance is how fast the system answers one request. Scalability is whether it stays fast when the number of requests grows. A system can answer one user in 50 ms and still fail when 10,000 users arrive together.

what is meant system can answer one user in 50 ms and still fail when 10,000 users arrive together? are you trying to say for 10000 users it fails or still success for 10000 users, can you please correct if any gramitical mistake "still"

Akshay M

Akshay M

· a month ago

We can achheive horizontal scaling for relational db using Vitess and citus as well . Plus we have Cockroach , spanner and Yugabyte like DB for it

Show 1 reply
D

dinko.osrecki

· 3 months ago

What is missing here is diagonal scaling (combined horizontal and vertical scaling of the same workload).

Imagine an application that is processing tasks of variable complexity and load. It can happen that servers are hit with a huge batch of highly complex tasks (while normally it processes steady number of tasks of lower complexity). In this case it makes sense to scale both vertically (more CPU/RAM to have capacity to handle a complex task) and horizontally (many tasks to process).

Show 1 reply
Shrikrishna jagdale

Shrikrishna jagdale

· a year ago

Normally in spring boot application we write validation checks for the request content, e.g headers, request body fields. What if we offload this validation to api gateway and let the application assume that only valid requests will land on the application's controller?

Show 3 replies
Fayaz S

Fayaz S

· 3 years ago

what should be our approach or things to consider or how to start with if we are trying to design a scalable and high performing platform and cloud analytic monitoring solutions

Show 2 replies

Reading Progress

0%


Vote for new content