Microsoft system desing SDE-2

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2023-10-15Added By Anonymous
Source: Link

SDE-2 , 4.5Y experiance


Design flight ticket booking system( high level desing)


•I gave the solutio but interview kept on insisting what would you do if 1000 simultaneuos request
•i said we will use pessimistic locking means we will lock the seat as soon as first request comes ( First come first serve)
•i think he was not impressed. he said how will you handle the payment failure
•i anwered saying " we can keep temporary transaction id , and keep status as pending once payment service comes with final status say failure then we give retry command probably batch payment retry based on system scale"
•but here also he was not happy , i dont know what he was looking for
•yet to recive final feedback ill update once feedback arrives


Comments