"
Design & Architecture Overview:
The system was a scalable, cloud-based web application built to manage customer data and automate service requests.
Frontend:
React.js: Chosen for its component-based architecture, reusable UI, and fast rendering using Virtual DOM.
Backend:
Node.js with Express.js: Selected for non-blocking I/O, scalability, and rapid API development.
Database:
MongoDB: Used for its flexible schema, scalability, and ease of handling unstructured data.
Authentication:
JWT"
Ilakiya R. - "
Design & Architecture Overview:
The system was a scalable, cloud-based web application built to manage customer data and automate service requests.
Frontend:
React.js: Chosen for its component-based architecture, reusable UI, and fast rendering using Virtual DOM.
Backend:
Node.js with Express.js: Selected for non-blocking I/O, scalability, and rapid API development.
Database:
MongoDB: Used for its flexible schema, scalability, and ease of handling unstructured data.
Authentication:
JWT"See full answer
"Step 1: Clarifying the Problem Scope
Assumptions and basic system requirements:
Cashless payments: The machine supports cashless payment methods like credit cards, mobile wallets, or NFC-based payments (e.g., Apple Pay, Google Pay).
Multiple candy options: The machine offers different types of candy.
Inventory management: The system tracks the stock of candy in real-time.
User interface: A display screen for users to select the type of candy, make payments, an"
Ramendra S. - "Step 1: Clarifying the Problem Scope
Assumptions and basic system requirements:
Cashless payments: The machine supports cashless payment methods like credit cards, mobile wallets, or NFC-based payments (e.g., Apple Pay, Google Pay).
Multiple candy options: The machine offers different types of candy.
Inventory management: The system tracks the stock of candy in real-time.
User interface: A display screen for users to select the type of candy, make payments, an"See full answer
"In the API design, the interviewer is switching between RPC style (operation based endpoints) and REST style (resource oriented). Sticking to one convention and explaining why it is preferred over the other e.g. REST if the twitter domain maps nicely to resources e.g. /tweet or /follower or /user would help to create a more consistent and unified API. It would make it easier for clients to integrate with the API as well."
dreamingincode - "In the API design, the interviewer is switching between RPC style (operation based endpoints) and REST style (resource oriented). Sticking to one convention and explaining why it is preferred over the other e.g. REST if the twitter domain maps nicely to resources e.g. /tweet or /follower or /user would help to create a more consistent and unified API. It would make it easier for clients to integrate with the API as well."See full answer
"Since there is a need for the data to be accurate and consistent without any latency to allocate a spot, can't the data be synchronously synced to replicas after every write as the number of writes are not many per min, instead of read lock phenomena
Let me know if i am on a wrong thought here."
Chitapuram N. - "Since there is a need for the data to be accurate and consistent without any latency to allocate a spot, can't the data be synchronously synced to replicas after every write as the number of writes are not many per min, instead of read lock phenomena
Let me know if i am on a wrong thought here."See full answer
Technical Program Manager
System Design
+2 more
🧠Want an expert answer to a question? Saving questions lets us know what content to make next.
"Designing a video streaming system like Netflix or Facebook Video involves addressing multiple aspects, such as scalability, availability, low latency, and high performance. Here's a high-level design:
System Requirements
Functional Requirements:
User Management:
User sign-up, login, and profile management.
Subscription plans and payment integration (for Netflix-like systems).
Content Management:
Upload, edit, and delete videos.
Categorize content (genres, recommendations).
Video Playback:
S"
Kamal .. - "Designing a video streaming system like Netflix or Facebook Video involves addressing multiple aspects, such as scalability, availability, low latency, and high performance. Here's a high-level design:
System Requirements
Functional Requirements:
User Management:
User sign-up, login, and profile management.
Subscription plans and payment integration (for Netflix-like systems).
Content Management:
Upload, edit, and delete videos.
Categorize content (genres, recommendations).
Video Playback:
S"See full answer
"
Functional Requirements
Content Ingestion\:
Ingest news articles from various sources (websites, social media, etc.).
Handle different types of content (text, images, videos).
Content Analysis\:
Extract and preprocess text from articles.
Analyze the content for potential indicators of fake news.
Model Training and Prediction\:
Use machine learning models to classify content as fake or real.
Continuously improve models with new data and f"
Scott S. - "
Functional Requirements
Content Ingestion\:
Ingest news articles from various sources (websites, social media, etc.).
Handle different types of content (text, images, videos).
Content Analysis\:
Extract and preprocess text from articles.
Analyze the content for potential indicators of fake news.
Model Training and Prediction\:
Use machine learning models to classify content as fake or real.
Continuously improve models with new data and f"See full answer
"I broke the vehicles down by regions in the world. Designed a wireless api interface to sync with a database backend that linked to google maps through another service and api."
James H. - "I broke the vehicles down by regions in the world. Designed a wireless api interface to sync with a database backend that linked to google maps through another service and api."See full answer
"Start your stream
Use the Post tab to: Choose where to post your live broadcast. Write a description. Select a camera, mic and screen (if screen sharing). Add a title for your live broadcast (optional). Select the primary language of the stream. ...
Once everything is set, select Go Live."
Abdurhman M. - "Start your stream
Use the Post tab to: Choose where to post your live broadcast. Write a description. Select a camera, mic and screen (if screen sharing). Add a title for your live broadcast (optional). Select the primary language of the stream. ...
Once everything is set, select Go Live."See full answer
"Created a solution for remote online learning app on the lines of coursera and also made a option for live streaming classes . Uni admin creates uni account, courses, adds instructors; instructors can create content , give classes ; student searches, enrols, consumes content. Used micro services architecture with APIs for all functions, RDBMS, NoSQL , indexed with redis and elastic."
Sneha D. - "Created a solution for remote online learning app on the lines of coursera and also made a option for live streaming classes . Uni admin creates uni account, courses, adds instructors; instructors can create content , give classes ; student searches, enrols, consumes content. Used micro services architecture with APIs for all functions, RDBMS, NoSQL , indexed with redis and elastic."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
"I contradict the choice of DB for storing App Data in this case, I believe a NoSQL would have been a better choice. Could you please clarify why you chose RDBMS/SQL?"
Jeet B. - "I contradict the choice of DB for storing App Data in this case, I believe a NoSQL would have been a better choice. Could you please clarify why you chose RDBMS/SQL?"See full answer
"I think we can analyse the data that's collected especially the users who are requesting it.if we find that there are set of users who regularly use this service then we may cache the data for those users to speed up processing and better the experience. The fresh data (which will be a delta on the cached data can only be calculated) and the stale data can be left out thereby updating the cache"
Nilanjan D. - "I think we can analyse the data that's collected especially the users who are requesting it.if we find that there are set of users who regularly use this service then we may cache the data for those users to speed up processing and better the experience. The fresh data (which will be a delta on the cached data can only be calculated) and the stale data can be left out thereby updating the cache"See full answer