"Payment system requirement assumption:
Need to be ACID
Amount limitation - some validation for max input size can be done at client level/ API level.
Need to store historic info - GDPR
The information to be stored for database assumed can be structured so RDBMS like mysql or Postgres
Notification requirement - if fail or success need to be text or email to user and or caller
Scalable - Assumption that it deals with critical transaction so Availability and Scalability requirement i"
Personal W. - "Payment system requirement assumption:
Need to be ACID
Amount limitation - some validation for max input size can be done at client level/ API level.
Need to store historic info - GDPR
The information to be stored for database assumed can be structured so RDBMS like mysql or Postgres
Notification requirement - if fail or success need to be text or email to user and or caller
Scalable - Assumption that it deals with critical transaction so Availability and Scalability requirement i"See full answer
"Amazon Prime will generally have a limited group of uploaders rather than a million of them. This should influence the design of the Uploader service as it doesn't need to scale that much. Also the Encoding service role was not too clear"
Nilanjan D. - "Amazon Prime will generally have a limited group of uploaders rather than a million of them. This should influence the design of the Uploader service as it doesn't need to scale that much. Also the Encoding service role was not too clear"See full answer
"I studied Exponent's TinyURL system design video. My interviewer was asking many detailed questions on API design, schema, as well as data required to store. I found system design questions are bit high level instead of depth. I think should have detail design of API, schema and some additional flavors."
Yag S. - "I studied Exponent's TinyURL system design video. My interviewer was asking many detailed questions on API design, schema, as well as data required to store. I found system design questions are bit high level instead of depth. I think should have detail design of API, schema and some additional flavors."See full answer
"The user awakes Alexa by saying the "Alexa word"
Device starts recording audio from the user, and streaming it to the Alexa Cloud Service
The recorded audio stream is sent to the ASR (Automatic Speech Recognition) system
ASR returns the words and the order of the words in the audio stream, and sends this information to NLU (Natural Language Understanding)
NLU returns the intent of the audio stream, and sends it to Alexa Skill
If the intent triggers a "play" directive (e.g. turn"
Kai W. - "The user awakes Alexa by saying the "Alexa word"
Device starts recording audio from the user, and streaming it to the Alexa Cloud Service
The recorded audio stream is sent to the ASR (Automatic Speech Recognition) system
ASR returns the words and the order of the words in the audio stream, and sends this information to NLU (Natural Language Understanding)
NLU returns the intent of the audio stream, and sends it to Alexa Skill
If the intent triggers a "play" directive (e.g. turn"See full answer
System Design
Technical
🧠Want an expert answer to a question? Saving questions lets us know what content to make next.
"Why is it answered like a Product Design Question? Shouldn't this be a strategy type answer analyzing the pros/cons of the service etc.?"
Aditya O. - "Why is it answered like a Product Design Question? Shouldn't this be a strategy type answer analyzing the pros/cons of the service etc.?"See full answer
"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
"I gave multiple answers including polling the service every 10 sec to see customer. Or we can have the client side call which will send this data after 10 sec to us. We will store in dynamo DB and then send through pipelines to redshift DB for analytics."
Deepti K. - "I gave multiple answers including polling the service every 10 sec to see customer. Or we can have the client side call which will send this data after 10 sec to us. We will store in dynamo DB and then send through pipelines to redshift DB for analytics."See full answer
"You might build a product like this a few ways. I think you'd definitely want a temperature sensor device (maybe like a TMP422, or maybe there's a different one that is standard for wearables) that was worn by the individual. As far as tracking social distance, my answer here is more dependent on the state of the art of robust (wearable) distance measurement. Maybe there's something available better than ultrasonic sensors, maybe there's some kind of electromagnetism based solution that isn't in"
Ian R. - "You might build a product like this a few ways. I think you'd definitely want a temperature sensor device (maybe like a TMP422, or maybe there's a different one that is standard for wearables) that was worn by the individual. As far as tracking social distance, my answer here is more dependent on the state of the art of robust (wearable) distance measurement. Maybe there's something available better than ultrasonic sensors, maybe there's some kind of electromagnetism based solution that isn't in"See full answer
"Clarifications:
Is it the voice only Alexa devices or includes echo show (video)?
Goal: To have people to safety quickest
Users:
Alexa owner
At the house when somebody breaks in
Family
Single adult/seniors
Outside the house at the time of break in
Police Department
Pain points/user group:
Owner in the house at the time of burglary
Inform all the house members at the earliest. Send SOS out on all/selective Alexa devices to ask family members to reach a safe place
2"
Chaitali M. - "Clarifications:
Is it the voice only Alexa devices or includes echo show (video)?
Goal: To have people to safety quickest
Users:
Alexa owner
At the house when somebody breaks in
Family
Single adult/seniors
Outside the house at the time of break in
Police Department
Pain points/user group:
Owner in the house at the time of burglary
Inform all the house members at the earliest. Send SOS out on all/selective Alexa devices to ask family members to reach a safe place
2"See full answer
"Firstly need to check is this service really beneficial or not. And video service provide more realistic perspective about the product so keep it"
Priyanka C. - "Firstly need to check is this service really beneficial or not. And video service provide more realistic perspective about the product so keep it"See full answer
"Front Page Layout Design for Newspaper App
Header Section
Logo: Displays at the top left.
App Name: Displays alongside, so very prominent.
Search Bar: Centered with search to find articles within the application.
Navigation Menu: The links to the respective sections, World, Politics, Sports, Entertainment, and Opinion, etc
Main Content Area
Top Stories Carousel:
It is a rotating banner that displays the top 3-5 news stories with images along with their headlines.
Each story should be cl"
Midde V. - "Front Page Layout Design for Newspaper App
Header Section
Logo: Displays at the top left.
App Name: Displays alongside, so very prominent.
Search Bar: Centered with search to find articles within the application.
Navigation Menu: The links to the respective sections, World, Politics, Sports, Entertainment, and Opinion, etc
Main Content Area
Top Stories Carousel:
It is a rotating banner that displays the top 3-5 news stories with images along with their headlines.
Each story should be cl"See full answer