Design a Hotel Booking Service - System Design Mock Interview (with eBay EM)

  Рет қаралды 47,115

Exponent

Exponent

Күн бұрын

Пікірлер: 35
@tryexponent
@tryexponent Жыл бұрын
Make sure you're interview-ready with Exponent's system design interview prep course: bit.ly/42Wsa3x
@jonamep
@jonamep Жыл бұрын
Its good to remind that the interviewee should be always asking and confirming with the interviewer about the decisions and next steps. You will probably get a better result if you use the interviewer as a partner in the system design.
@mrinalaich3723
@mrinalaich3723 Жыл бұрын
Interviewer : Let's quickly go through the High Level Design of the major flows. Interviewee: Yes, builds a block and starts writing SQL queries
@millen_basquiat
@millen_basquiat Жыл бұрын
Great episode! I loved seeing how an EM took his time to really dive deep into subjects. It felt like if the interviewer didn't rush him he would've given us a 5h masterclass haha
@kevinli9331
@kevinli9331 Жыл бұрын
This is a BAD example of how you should do a SD interview. No matter how deep you understand how the system work, always start with high level disign and then dive deep. Especially when the interviwer ask you to do so. I am pretty sure the EM candidate in the video has a lot of expierence on this kind of topic, but I think the way he keep talking himself and ignored what the interview told him to do is definitely a red flag for any company's interview.
@UpBanarasWala
@UpBanarasWala 9 ай бұрын
It is Informative. I wish there were discussions around how the hotel search will work on geo locations and how the data will be partitioned (sharded).
@tryexponent
@tryexponent Жыл бұрын
The tool is Whimsical.
@azam1200
@azam1200 Жыл бұрын
Do we need to write code in EM roles , I mean is dSA required in EM interviews?
@adityabvr3178
@adityabvr3178 2 ай бұрын
Great approach - Liked the way he jotted down the functional & non functional requirements through mind map. Just my opinion, the 5 room types are across the 1 M Hotels, shouldn't be 5M room types. The types remain same so that we can store the room types in enum.
@CheeseDiablo
@CheeseDiablo Жыл бұрын
He mentioned that there is an 18TB database but he didn't talk that there would be huge performance issues with that. Also, the inventory table approach is sorta strange - will he populate all the inventories for 10 years forward?
@mansi_b
@mansi_b Жыл бұрын
What tool is being used here? This is awesome!!😊
@prashantsalgaocar
@prashantsalgaocar 8 ай бұрын
For the deadlock, a better way would be to provide API to the reservations API which would only be released once the hold on the room is released or that reservation is cancelled. This would prevent double booking using the reservations API as an argument would be the roomType and status of the room. I think the way it is explained in the video with constraints and other Sql statements needs a revisit.
@Anteater23
@Anteater23 Жыл бұрын
By assigning room numbers at check in instead of at booking, how do you guarantee that customers will be able to have a particular room for their entire stay?
@ricktastic6
@ricktastic6 Жыл бұрын
I got a question: How do you maintain referential integrity across the 2 databases? I'm assuming one database would contain the Hotel table and the other the Inventory and Reservation table, the latter referencing hotel_id in the former.
@Deepz007
@Deepz007 Жыл бұрын
Very Nice, thanks for sharing!
@roliagrawal3124
@roliagrawal3124 Жыл бұрын
What about searching of hotels? Should not be using elastic search which is search database that can be optimisation
@katekho977
@katekho977 Жыл бұрын
Hm, I don't feel the candidate was confident enough in his proposals. Swinging from one side to another without actually answering interviewer's questions
@amitsharma928
@amitsharma928 Жыл бұрын
Nice session. Which tool are you using to draw?
@tryexponent
@tryexponent Жыл бұрын
Hi AmiTech, the tool being used here for drawing is called Whimsical!
@vladd3172
@vladd3172 Жыл бұрын
Important topic to cover here: payment failures.
@mahahrishi
@mahahrishi 8 ай бұрын
Which platform you are using for system design while mock interview ?
@th33ng
@th33ng Жыл бұрын
Was he hired? Or not
@RajYadav-fy4lm
@RajYadav-fy4lm Жыл бұрын
Enjoyed the session, also timestamp helps
@jojay6472
@jojay6472 Жыл бұрын
Should have gone deeper into Kafka and how orders are managed. Also, one of the biggest thing with hotels is location so he should have gone into that as well.
@jojay6472
@jojay6472 Жыл бұрын
Also, didn't talk about sharding
@mansi_b
@mansi_b Жыл бұрын
@exponent plz let us know the tool he used!!
@tryexponent
@tryexponent Жыл бұрын
Hi Mansi! The whiteboard tool he is using is called Whimsical
@chintanthakker4129
@chintanthakker4129 Жыл бұрын
I won't go for BFF, To solve under fetching and over fetching issue, graphql is much better option instead of building out BFF for each UI. Too much overhead cost and even complicates the system.
@HisExcellencyAKK
@HisExcellencyAKK 3 ай бұрын
Seems like he never addressed scalability and availability in the design.
@myrondai
@myrondai Жыл бұрын
I'm curious what this whiteboard tool is.
@tryexponent
@tryexponent Жыл бұрын
Hey myrondai! The whiteboard tool is "Whimsical"!
@myrondai
@myrondai Жыл бұрын
@@tryexponent thank you!
@dezinerg
@dezinerg Жыл бұрын
What app is the interviewer using?
@tryexponent
@tryexponent Жыл бұрын
Hey Lee! The whiteboard app being used here is called Whimsical!
@rajdave9822
@rajdave9822 Жыл бұрын
🎉🎉🎉🎉🎉🎉
Load Balancers for System Design Interviews
4:42
Exponent
Рет қаралды 47 М.
System Design Mock Interview: Design a Vending Machine
18:44
Exponent
Рет қаралды 42 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Design ChatGPT - System Design Mock Interview (with eBay EM)
35:14
System Design Mock Interview: Design WhatsApp
22:33
Exponent
Рет қаралды 91 М.
Google India Engineers in a Mock System Design Interview
20:54
Life at Google
Рет қаралды 146 М.
System Design Interview Question: Design URL Shortener
13:25
Hayk Simonyan
Рет қаралды 17 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.