Тёмный

Amazon System Design | Flipkart System Design | System Design Interview Question 

codeKarle
Подписаться 73 тыс.
Просмотров 276 тыс.
50% 1

This is a solution for System Design Interview Question where you need to design an E-Commerce application like Amazon / Flipkart / Myntra etc.
This is asked very frequently in companies like Amazon/ Google/ LinkedIn/ Twitter.
Prerequisites:
How to select the right Database for a Large Scale System: • Database Design Tips |...
Recommended Videos:
Google Maps System Design: • Google Maps System Des...
Airbnb System Design: • Airbnb System Design |...
Netflix System Design: • Netflix System Design ...
Summary of the video: www.codekarle.com/system-desi...
Architecture diagram: github.com/codekarle/system-d...
Author: / sandeep1904
If you like this video, please help us grow by sharing this video with your friends on Facebook, connections on LinkedIn and anyone who can benefit from this.
PS: This is not the real architecture of any such platform. This is my take on how I would answer that problem.
#codekarle #systemdesign #amazon #amazonsystemdesign #system #design #interview

Опубликовано:

 

24 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 335   
@ritukothariable
@ritukothariable 4 года назад
Thanks for sharing this video. Really appreciate the clarity of thought in your explanation and flow of the design.
@codeKarle
@codeKarle 4 года назад
Glad you enjoyed it!
@lokesh2800
@lokesh2800 3 года назад
This is the very comprehensive and clear explanations of the concepts, I have seen so many videos in platforms like udemy, linkedin learning, Oreilly but I found this explanation and design best for the ecommerce platform.
@AmanGarg95
@AmanGarg95 3 года назад
I worked at Flipkart and the architecture described here provides good insights into what we do. Good one. We're more on HBase than Cassandra though.
@codeKarle
@codeKarle 3 года назад
That's great to hear!!
@rahulsinghai3033
@rahulsinghai3033 2 года назад
@codekarle how can we implement the discount that Flipkart provides that vary time to time
@Jee_adv_air1
@Jee_adv_air1 2 года назад
Can i get your contact info ???
@nehasht2
@nehasht2 2 года назад
@@rahulsinghai3033 rule engine 🤔
@harshitjain1
@harshitjain1 Год назад
One of the best system design playlist out there. So underrated!
@dorjitshering775
@dorjitshering775 2 года назад
It was such a clear explanation. I couldn't have understood it more from anywhere else. Thank you so much for the content!!
@juhisweet16
@juhisweet16 2 года назад
still go through your videos regularly to brush up/prep for interviews. thank you so much for these
@asg3hb
@asg3hb 2 года назад
Great video as always. I found myself liking the videos in which you draw the system in real time. It gives a much better idea of a system being built to solve multiple levels of problems step by step. It also keeps the viewer more focused on the piece being worked on.
@aashishsawant3150
@aashishsawant3150 Год назад
Do you have idea about How ItemService communicate with InventoryService ?
@user-tk3vj5sb6s
@user-tk3vj5sb6s 2 года назад
I work at Ozon (Russian equivalent of Amazon) and yes, our architecture is quite similar
@aashishsawant3150
@aashishsawant3150 Год назад
Do you have idea about How item service communicate with Inventory service ?
@trishulcurtis1810
@trishulcurtis1810 5 месяцев назад
Instead of Item service, you can just use inventory service I think@@aashishsawant3150
@ri_rs
@ri_rs 3 года назад
Great explanation and well organized content flow in the video. Nicely covered many components of system design. Thanks a lot for creating this video. .
@Omniman2
@Omniman2 2 года назад
So many use cases covered, awesome design and explanation. Thanks mate!
@vibhorpareek8179
@vibhorpareek8179 2 года назад
The videos are spot on. Usually on other videos there are ambiguity in design. Your design stresses on what exactly needs to be done :) Great content!
@warnercooler4488
@warnercooler4488 2 года назад
Best tutorial I have seen so far on this topic. Thank you so much!
@7hjoseph
@7hjoseph 2 года назад
Best system design video from all what I have watched. Thanks for making this!
@vaishnavivel3500
@vaishnavivel3500 2 года назад
Brilliant and clear explanation.. especially appreciate the reasoning behind the DBs etc.. thanks for sharing
@amareshsat
@amareshsat 3 года назад
The improvement what I see in your videos is you keep everything drawn already on the board rather drawing it on the go. That would have been good as to know how you think through the whole system and how you approaching step by step. Also one more thing is the diagram could be more organized so when you talk you run through any flow it should be one functional flow from start to end rather than picking random components.
@aashishsawant3150
@aashishsawant3150 Год назад
Anyone has idea about How item service communicate with Inventory service ?
@neurocat6453
@neurocat6453 Год назад
That would make some of his 1-hour videos 3-hours length though... When everything is prepared he is able to cover more aspects and go more in-depth in shorter time. Anyway, I am not sure if we will see new videos from him.
@astrostudent2302
@astrostudent2302 3 года назад
Videos are good and intensive. Also please show rough estimates - traffic estimate, memory estimate, storage estimate etc
@tyapka
@tyapka 3 года назад
I really liked the breakdown on how to lock items in inventory and how to deal with expired orders.
@aashishsawant3150
@aashishsawant3150 Год назад
Do you have idea about How itemService communicate with InventoryService ?
@syedmusa8527
@syedmusa8527 2 года назад
Crystal clear thought process and explanation too. Thanks for the excellent video.
@availkrishmytube
@availkrishmytube 3 года назад
Great job! There was clarity right throughout
@ooogabooga5111
@ooogabooga5111 Год назад
Thank you so much for this, also pls make more videos. The quality of your talk is just too good not to be passed on to others.
@sagarsaumyaprusty7681
@sagarsaumyaprusty7681 2 года назад
This has been a clear vision for the process with multiple DB depending on the what type of data we are getting saved. It helped me a lot. I have designed one solution. If you have linkedin or similar can we connect. Just for a clarification, like MongoDB, Cassandra and Analytics tool can't we use any ERP based backend like SAP, ARIBA for purchase flow to make it more easy and smoother. These already have best Load balancing. I am a SAP consultant and looking for the similar solution that i have seen for multiple industry in my project experience.
@utubesud
@utubesud 3 года назад
Sandeep, Excellent .... Thanks very much...THis is a very intuituve design I have ever seen...its pretty much covers almost all details....
@abhimanyunagpal3086
@abhimanyunagpal3086 3 года назад
I have watched multiple videos on system design but the content you have is exactly what is needed to crack the interviews. You are among the best on youtube in terms of content !
@codeKarle
@codeKarle 3 года назад
Thanks Abhimanyu!! Glad to hear this. Do spread a word about us amongst your friends. It helps everyone :)
@aashishsawant3150
@aashishsawant3150 Год назад
I want to know one thing. In which kind of use cases item database mongo-db will be used? as We have already search engine DB for searching items, inventory ? how inventory service and elastic search talk to each other
@debs1991
@debs1991 Год назад
You speak to common man! Really knowledge booster. Thanks you :)
@rupas4761
@rupas4761 10 месяцев назад
Thanks for explanation .In all your videos you explain it so simple even the complicated topics with attention to details👍
@vivekchand19
@vivekchand19 2 года назад
Hi Sandeep, Thanks for the amazing videos. They have been very helpful. Would love to see more videos coming like Designing Dropbox, Pastebin, Web Crawler etc & system design patterns.
@FranciscoGomez-tw1ii
@FranciscoGomez-tw1ii 3 года назад
I have my first interview tomorrow and i was so scared, thanks to your videos i no longer feel like that and i feel like im actually capable of showing of what i learned so far in my career tomorrow. THANK YOU
@codeKarle
@codeKarle 3 года назад
All the best for your interviews!
@RicardoBuquet
@RicardoBuquet 10 месяцев назад
Having worked in a super large system for 11 years (Groupon) I give this overview a 5 stars.
@deepakshukla991
@deepakshukla991 3 года назад
Buddy your knowledge level and skills are unmatchable. Keep making these videos.
@codeKarle
@codeKarle 3 года назад
Thanks Deepak! Do spread the word about the channel :)
@ssandeepdesai7
@ssandeepdesai7 3 года назад
Beautiful & clear explanation. Thanks for this video !
@nasreenustad7658
@nasreenustad7658 3 года назад
Very clear and well explained all the features.. thanks for sharing, I appreciate your efforts. Could you please make a video on how to design Database schema for e-commerce app in details?
@jagritibansal3421
@jagritibansal3421 3 года назад
Great explanation and well organized content flow in the video. Thanks!
@kunalsahu3903
@kunalsahu3903 2 года назад
Superb explanation, Thank you so much for nice detailing, plss keep on posting more in this era. Thanks
@anushrih.v5515
@anushrih.v5515 3 года назад
This design was so descriptive! Thanks for sharing!
@monishchhadwa777
@monishchhadwa777 5 месяцев назад
You deserve a like, subscribe share. Honestly, explained such a complex system in a very short time precisely and clearly
@kushalkhandelwal6267
@kushalkhandelwal6267 4 года назад
Awesome video. Really like your style of explaining the design. Seems very natural and incremental in approach and understanding.
@codeKarle
@codeKarle 4 года назад
That's great to hear!! Thanks for the kind words :)
@vdineshkumar7620
@vdineshkumar7620 3 года назад
Your videos are really amazing!!Thanks a lot for making them.
@chhaviparasher2917
@chhaviparasher2917 Месяц назад
Great content and well-organized flow in the video. Thanks a lot for creating this video.
@ankita4priya
@ankita4priya 3 года назад
Great design and awesome explanation of each component
@philomath20
@philomath20 3 года назад
It's not like I am trying to make some comparisons here but I usually prefer watching multiple videos for the same design topic and I can easily say that I find Sandeep's tutorials the most comprehensive and lucid at the same time. Awesome job there Sandeep.
@codeKarle
@codeKarle 3 года назад
Thanks Apoorv!
@holatechm
@holatechm 2 года назад
This is what I was looking for, really helpful video bro, thanks a lot for your effort
@vadirajjahagirdar9342
@vadirajjahagirdar9342 2 года назад
This is at next level. I am making notes of all your videos and recently cracked a company. My best wishes to you brother :) :) God bless you :) :)
@randomguy4822
@randomguy4822 3 дня назад
Bro I am also making notes , can we connect on linkedin
@FrankMaruf
@FrankMaruf Год назад
That's really awesome. Thanks, sir for sharing this video with us. Love from Bangladesh .
@HarkiratSaluja
@HarkiratSaluja 3 года назад
This is a gem of a video. Learnt a lot. Thank you
@domnicsatish
@domnicsatish 2 года назад
Thank you so much for this video! Appreciate if you also share a transcript of the video in the description. It'll help keeping it handy for reading through the key concepts.
@sumitbabel5415
@sumitbabel5415 3 года назад
You are amazing, superb explanation and with excellent pace
@srikid100
@srikid100 2 года назад
I really like your videos! Super informative and easy to understand. Thank You!
@quangluong5413
@quangluong5413 Год назад
I really like how you go into the details of different components - amazing work!
@aashishsawant3150
@aashishsawant3150 Год назад
I want to know one thing. In which kind of use cases item database mongo-db will be used? as We have already search engine DB for searching items, inventory ? how inventory service and elastic search talk to each other
@nikita12351
@nikita12351 3 года назад
Thanks for making this video. Detailed explanation!
@akhileshvatupalli
@akhileshvatupalli 2 года назад
Very nice one! I literally liked and slept at the same time. Appreciate it 😎😎
@SkiesTribune
@SkiesTribune 11 месяцев назад
I really enjoyed the way you explain things...simple and effective👏🔝 My kind regards from Egypt.
@shettyanvita
@shettyanvita 4 года назад
Thank you for the clear/detailed information!!
@codeKarle
@codeKarle 4 года назад
Glad that it was helpful 👍
@nikitasinghchauhan6239
@nikitasinghchauhan6239 4 года назад
Great video and thank you for explaining all the important functionalities.🙂
@codeKarle
@codeKarle 4 года назад
Thank you!
@rupeshmukherjee852
@rupeshmukherjee852 4 года назад
Sandeep... design a Recommendation System and designing a distributed key value store would help... Possible to take these up in ur upcoming videos?? BTW.. every video is awesome Sandeep.. best System design videos I have seen so far... very clear and not over the top, very precise yet very detailed.. Awesome work Sandeep..
@rishabhgoel1877
@rishabhgoel1877 2 года назад
first person who doesn't teach just for interview purpose but in general how systems are designed, really appreciate you :)
@shikharsaxena4432
@shikharsaxena4432 3 года назад
Awesome content! Please make a video on system design of Glassdoor as well, I found it quite tricky.
@asifiqbal2184
@asifiqbal2184 Год назад
It's very nice and clean approach. Thanks for all your effort. i would like if you can create a catalog management system video which can cover the master data management for product as admin.
@iitmvaibhav
@iitmvaibhav 9 дней назад
crisp explanation and covered all aspects
@shivangitomar5557
@shivangitomar5557 2 года назад
Wow! This is very well explained. Thanks!!
@MarimuthuSA
@MarimuthuSA 3 года назад
Great content but easy to understand, Thanks codeKarle.
@elachichai
@elachichai 3 года назад
Happy Learning Indeed Sandeep!!! Lot of good points discussed - you talk about choice of components right in the context of design than suggesting a read up. It is also better than a few paid subscription tutorials. One suggestion: I liked the write up on codekarle describing system design which you traded for closed captions/subtitles. Can you add them on your website? Easier for a 2nd go over...
@SmartEngineers
@SmartEngineers 3 года назад
Great explanation. It's really worthful to watch.
@sridharkulkarni9210
@sridharkulkarni9210 2 года назад
Amazing videos on system design. Thanks very much. Love your style of explanation. Are you planning to create any videos on System design of cloud storage?
@DivyaSingh-cm4iy
@DivyaSingh-cm4iy 2 года назад
Great video! For the inventory service, does it also make sense to use something like Spanner if the number of products become more for MySql?
@abrarpapa
@abrarpapa 3 года назад
You have explained the CAP theorem so easily which was really challenging to understand. Kudos!!! Keep up the good work.
@awdhesh17
@awdhesh17 3 года назад
Very informative video... Thanks for Sharing...
@safarnama4597
@safarnama4597 3 года назад
Thanks for nicely explanation of each component in detils.
@PawanSharma-le6hk
@PawanSharma-le6hk 2 года назад
Thanks for your awesome videos, really appreciate the effort. Please create a video for the Google Drive kind of service also.
@AmitKumar-gm8wl
@AmitKumar-gm8wl 3 года назад
it is really impressive. Helped me a lot in system design. One request is that please make a video on movie ticket booking system (BookMyShow)
@user-rw6lx7hg7i
@user-rw6lx7hg7i 3 года назад
Wow.. e-Commerce system is so complex..
@TheCodeThoughts
@TheCodeThoughts Год назад
I think Wish List and Cart service should not be associated with Search service rather it can be directly connected to user pages once he/she is logged in.
@igorburilo3937
@igorburilo3937 2 года назад
Thanks for such detailed and good explanation
@YashRaithatha1989
@YashRaithatha1989 3 года назад
awesome ! Thanks for explaining it with so much clarity.
@subhasisroy9710
@subhasisroy9710 2 года назад
Very helpful video. Thank you so much.
@siddharthbagai6459
@siddharthbagai6459 Год назад
Great video as always ! very clear thanks ! only one point of improvement if you can use a better mic as sound clarity is not the best
@sushantkumar8903
@sushantkumar8903 3 года назад
Simple yet very efficient
@Gohel95
@Gohel95 3 года назад
thanks, man for that deep explanation.❤💖
@rohitchoubey1284
@rohitchoubey1284 3 года назад
Awesome video .. really appreciate the effort !
@anastasianaumko923
@anastasianaumko923 Год назад
Thank you for your work, great job 😌
@kkpant75
@kkpant75 3 года назад
I appreciate your knowledge and teaching method and of course your experience and knowledge on Architecting
@agayevrauf
@agayevrauf 2 года назад
Very well explained, thanks!
@Vivek-je1og
@Vivek-je1og 3 года назад
Thanks for your efforts. Really grateful.
@arijitghosh3090
@arijitghosh3090 2 года назад
Thanjs for sharing this...however I feel that instead of havign everything drawn out if you had drawn each component at a time will be been better. It would have made clear your thought process and will have been less overwhelming
@psk2166
@psk2166 Месяц назад
Thank you for sharing, I've learnt a lot from you :)
@srogirala
@srogirala 2 года назад
All your videos are excellent . Only issue is you are standing infront of the board which contains the architecture. You can stand on the side of the board so that viewers get a clean view of the architecture diagram.
@AI_For_Scientists
@AI_For_Scientists 2 года назад
great video, Just the right amount of information, thank you!
@aashishsawant3150
@aashishsawant3150 Год назад
I want to know one thing. In which kind of use cases item database mongo-db will be used? as We have already search engine DB for searching items, inventory ? how inventory service and elastic search talk to each other
@hiltonpaul5778
@hiltonpaul5778 3 года назад
Excellent presentation..
@architgupta4087
@architgupta4087 3 года назад
@CodeKarle Nice explanation. Since the order, payment, and inventory are managed by separate microservices, we may need distributed transactions here. Thinking about cases like we reduced the inventory but the order service failed to persist the order. It would be great to discuss this issue along with different distributed transaction algorithms (Paxos, 2PC, 3PC, Saga etc) in your next video.
@rujhanarora7892
@rujhanarora7892 2 года назад
Exactly my thoughts. As Sql doesn't provide distributed transactions, the statement made in video is little misleading
@preetigupta5565
@preetigupta5565 2 года назад
Right..Also they whole order taking journey is synchronously spanning through multiple microservices. Would that not block the customer?
@aashishsawant3150
@aashishsawant3150 Год назад
Archit, Do you have idea about How ItemService communicate with InventoryService ?
@sudhanshukumar-yu7fj
@sudhanshukumar-yu7fj Месяц назад
Correct, SAGA is way forward here. 2PC and 3PC are quite slow in real world, besides making this process synchronized suffers from late response to the client. A better way in SAGA suggests that we provide an immediate response let the SAGA complete. Once completed or rolled back then confirm the order.
@DejaVu-wc9ky
@DejaVu-wc9ky Год назад
Thank you so much sir!! So helpful and detailed, could you please do a video on how to choose what database to use?
@xiaoyinqi7296
@xiaoyinqi7296 6 месяцев назад
thanks for sharing this, very helpful
@mahletlulseged4858
@mahletlulseged4858 Месяц назад
great explanation! thanks a lot
@deepakchhabra5932
@deepakchhabra5932 4 года назад
Vivid explanation. I would add that where you run the purge and archive what I have seen a heavy use of asynch flows so some kind of queue in between which would delete the data through processing service but dont talk directly with historical service, instead generate all these order events and put them into a queue and the listener on the other end would talk to historical service and finish the rest of the process. Since purge may pull millions of records so expecting archival service to deal with order processing and historical at the same time may cause frequent failures. Very nice content. Thank you.
@deepakchhabra5932
@deepakchhabra5932 4 года назад
One more point - when redis sends the expiry callback to order taking service we can also put a check there to first check the status of the order. if order is placed then ignore the request. Deleting from Redis when payment is confirmed is also good but safeguarding at both ends would be nice in case we fail to delete the record from redis.
@aashishsawant3150
@aashishsawant3150 Год назад
I want to know one thing. In which kind of use cases item database mongo-db will be used? as We have already search engine DB for searching items, inventory ? how inventory service and elastic search talk to each other
@sudhanshukumar-yu7fj
@sudhanshukumar-yu7fj Месяц назад
@@aashishsawant3150 mongo-db is used when you have unstructured data which can have varying attributes yet you need to query them with complex params. For example, you may want to find a shirt of size M and color crayon and has a chinese collar etc. how inventory service and elastic search talk to each other: They don't have to.
@PriyankaSharma-zt5pq
@PriyankaSharma-zt5pq 3 года назад
Amazing insight and information
@nandyad
@nandyad Год назад
This is really so much helpful
@snowglider400
@snowglider400 2 года назад
thanks for this. It really helps.
@nuralitechie9534
@nuralitechie9534 Год назад
Thank you. Very quality design, with most of components, edge case cover. Best system design material with real life issue/functionality. One feedback, it would be great if you can show yr whiteboard with diagram without you in between so that one can take screen shot and keep it for future reference. Thank you very much.
@aashishsawant3150
@aashishsawant3150 Год назад
I want to know one thing. In which kind of use cases item database mongo-db will be used? as We have already search engine DB for searching items, inventory ? how inventory service and elastic search talk to each other
@praveenramachandran3954
@praveenramachandran3954 4 года назад
fantastic video v clear simple detailed.
@codeKarle
@codeKarle 3 года назад
Thanks!! Glad you liked it!!
@ananthasubramanian7355
@ananthasubramanian7355 3 года назад
That was great...!! Thank you
@dharshanramakrishna2237
@dharshanramakrishna2237 2 года назад
very good content. thank you!
@parambharti7095
@parambharti7095 Год назад
Awesome explanation.
Далее
Google Maps System Design Interview Question
1:01:07
Просмотров 147 тыс.
Камень, ножницы, нейронка
00:33
Просмотров 1,2 млн
Amazon System Design Preparation (SIP)
10:43
Просмотров 273 тыс.
How to Crack Any System Design Interview
8:19
Просмотров 344 тыс.
Amazon System Design Interview: Design Parking Garage
29:59