"Functional Requirement
Monitor health, metrics
Alert in case of failure/anomaly
Visualize the live health
Analyse machines on periodic basis
Non Functional
Should not exert load on machines
low latency
Highly scalable
Logs/Metrics Gathering
push - machine gather and send to system and low priority background thread along with batching
pull - heart beat check (for offline machines)
Processing
Real time streaming using Kafka/kinesis + Flink
TimeSeries database for stor"
Sourabh G. - "Functional Requirement
Monitor health, metrics
Alert in case of failure/anomaly
Visualize the live health
Analyse machines on periodic basis
Non Functional
Should not exert load on machines
low latency
Highly scalable
Logs/Metrics Gathering
push - machine gather and send to system and low priority background thread along with batching
pull - heart beat check (for offline machines)
Processing
Real time streaming using Kafka/kinesis + Flink
TimeSeries database for stor"See full answer
"What about sharding by Real Estate companies that are listing the homes? Because the homes can span zip codes. Then further shard by zip codes?"
Adrian V. - "What about sharding by Real Estate companies that are listing the homes? Because the homes can span zip codes. Then further shard by zip codes?"See full answer
"Describe basics of web browser and http request. Then go into Google's search engine. For follow-up questions, talked about http vs https (encryption), sql vs nosql data store, s3 blob storage, encryption policies, retention policies."
Faraz A. - "Describe basics of web browser and http request. Then go into Google's search engine. For follow-up questions, talked about http vs https (encryption), sql vs nosql data store, s3 blob storage, encryption policies, retention policies."See full answer
"I did a design similar to one of the videos you have about designing youtube, but feedback said that I failed on discussions on key details of the design, also failed on the gathering requirements phase."
Emilio T. - "I did a design similar to one of the videos you have about designing youtube, but feedback said that I failed on discussions on key details of the design, also failed on the gathering requirements phase."See full answer
Engineering Manager
System Design
+2 more
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"(This was not search autocomplete based on prefix matching question.)
First of all, please note :- The interviewer is not expecting you to get to the right answer in just 1 hr. These systems have been designed over months and improved over years and its impractical for anyone to expect you to get to the right answer in 1 hr. (There is no one single right answer).
At the end, the interviewer (director level person) told me the same. What they are looking for is your thought process, getting from"
shg - "(This was not search autocomplete based on prefix matching question.)
First of all, please note :- The interviewer is not expecting you to get to the right answer in just 1 hr. These systems have been designed over months and improved over years and its impractical for anyone to expect you to get to the right answer in 1 hr. (There is no one single right answer).
At the end, the interviewer (director level person) told me the same. What they are looking for is your thought process, getting from"See full answer
"Load Balancer to multiple API Servers, pub sub system to publish user events, Game Engine Service, Write through cache and NoSQL DB.
HTTP Long Polling to get user status updates"
gdecuri - "Load Balancer to multiple API Servers, pub sub system to publish user events, Game Engine Service, Write through cache and NoSQL DB.
HTTP Long Polling to get user status updates"See full answer
"Functional requirements:
(a) location tracking
(b) check-in at nearby place
(c) view historical checkins with how much time user stayed there
(d) Mark checkout when out of proximity
(e) analytics - checkins by user at given loc, top n places
Out of scope:
(a) checkin sharing with followers
Non functional:
(a) low latency
(b) high availability
(c) eventual consistency
Scale:
(a) QPS: 10M DAU * 2 checkins /86400 seconds
(b) Yearly Data Volume: 10M* 0.1 KB *365 days
HLD:
user -> location servic"
Anonymous - "Functional requirements:
(a) location tracking
(b) check-in at nearby place
(c) view historical checkins with how much time user stayed there
(d) Mark checkout when out of proximity
(e) analytics - checkins by user at given loc, top n places
Out of scope:
(a) checkin sharing with followers
Non functional:
(a) low latency
(b) high availability
(c) eventual consistency
Scale:
(a) QPS: 10M DAU * 2 checkins /86400 seconds
(b) Yearly Data Volume: 10M* 0.1 KB *365 days
HLD:
user -> location servic"See full answer
"Summary of the Situation
We'll design a video streaming app for toddlers, focusing primarily on creating a safe, engaging, and educational environment. The goal is to foster early learning and provide entertainment that's appropriate for this age group. This will be a brand-new app, designed to use existing hardware like tablets and smartphones that are common in households with young children.
Identify Users
Primary Users:
Toddlers (ages 1-4): direct consumers of the content.
Seco"
Vishwanshi J. - "Summary of the Situation
We'll design a video streaming app for toddlers, focusing primarily on creating a safe, engaging, and educational environment. The goal is to foster early learning and provide entertainment that's appropriate for this age group. This will be a brand-new app, designed to use existing hardware like tablets and smartphones that are common in households with young children.
Identify Users
Primary Users:
Toddlers (ages 1-4): direct consumers of the content.
Seco"See full answer