Learn System design : How distributed datastore works(basics)?

Sdílet
Vložit
  • čas přidán 26. 11. 2018
  • Learn System design the easy way!!
    This is the second session of distributed datastores basics
    In this session you will learn how nosql(cassandra) works in contrary to RDBMS!!

Komentáře • 68

  • @pkr619
    @pkr619 Před 5 lety +19

    I have been going through the videos in this playlist and have watched most of them. The videos are easy to understand, well explained and touches the core concepts of distributed systems without going too much into fancy details (except for probably NFLX video). They are a delight to watch. Thank you, and please keep posting :)

  • @abhishekp4955
    @abhishekp4955 Před 5 lety +8

    I did really well in system design interview recently for one of the biggest company in the world because of you, I dint end up getting offer because of other round but grateful for your videos.

  • @amanpervaiz2843
    @amanpervaiz2843 Před 2 lety

    This is one of the top channels for system design. The videos are well researched and very well presented. Looking forward to going through all your videos and waiting for more!

  • @H-CSELEKrishnaMohan
    @H-CSELEKrishnaMohan Před 2 lety

    This is great and thanks for this video sir

  • @prernagolani9014
    @prernagolani9014 Před 3 lety

    Good explianation 👏

  • @biswajeetpatra9567
    @biswajeetpatra9567 Před 5 lety +1

    Very clear and concise high level description....

  • @TusharKantaGupta
    @TusharKantaGupta Před 5 lety +2

    nice explanation ... keep it up

  • @anuragreddygv323
    @anuragreddygv323 Před 5 lety +2

    Awesome work man... keep them coming!!

  • @auroshisray9140
    @auroshisray9140 Před 2 lety

    great content!!

  • @TheVinitsaini
    @TheVinitsaini Před 5 lety +2

    Good high level explanation. Thanks.

  • @sharatchandra9198
    @sharatchandra9198 Před 3 lety

    I thank you for creating such a fantastic and well prepared series

  • @NaturalPro100
    @NaturalPro100 Před 5 lety +1

    Really simple and awesome to understand dude.Thanks a ton....

  • @VishalBhartivisu
    @VishalBhartivisu Před 5 lety +1

    Nice one . very helpful

  • @darioBoverio
    @darioBoverio Před 4 lety

    Excellent explanation, like the other videos! Thanks for sharing!

  • @saiakhil1997
    @saiakhil1997 Před 2 lety

    Thank you very much. I needed this brief explanation

  • @roshankumar0911
    @roshankumar0911 Před 4 lety

    Awesome explanation !! Please keep teaching us new concepts.

  • @grandhiavinash4051
    @grandhiavinash4051 Před 5 lety

    Excellent explanation. Thanks.

  • @shashanknaik5806
    @shashanknaik5806 Před 4 lety

    First of all kudos for the effort, excellent explanation. And would like to see a video on distributed messaging queue like kafka or Amazon sqs

  • @ankitjain9361
    @ankitjain9361 Před 5 lety

    Easy to understand...awesome video :)

  • @dasenthil
    @dasenthil Před 4 lety

    I am trying to prepare the system design interview. your video is very help.

  • @creative-freedom
    @creative-freedom Před 5 lety +7

    In all consistent hashing algoritjms, when a node(system) joins or leaves the hash ring, only the neighboring nodes will be affected(rearranged).. usually it's just the one next node.. that's the main purpose of consistent hashing.. less damage for ring changes !!

  • @vincentmax4571
    @vincentmax4571 Před 5 lety

    Wonderful Sir!!

  • @amithbk12man
    @amithbk12man Před 5 lety

    Nice. I really like your videos. Very helpful

  • @himanshusingh694
    @himanshusingh694 Před 4 lety

    I don't understand why 7 people have disliked the video..
    Anyways great content. Thanks for sharing your knowledge with us.

  • @mayankrathore7558
    @mayankrathore7558 Před 5 lety +2

    Awesome job :)

  • @akrsmangipudi
    @akrsmangipudi Před 5 lety

    Great Job Narendra !

  • @AbhishekKumar-hi8oj
    @AbhishekKumar-hi8oj Před 5 lety

    good job Bro...Keep it up :)

  • @sweetyb3287
    @sweetyb3287 Před 5 lety

    Nice explanation.

  • @pdteach
    @pdteach Před 4 lety

    Nice explanation 👍

  • @bharath_v
    @bharath_v Před 4 lety

    Good One!

  • @user-wy6ku1ip3f
    @user-wy6ku1ip3f Před 3 lety

    Great video
    Thanks alot

  • @jamesjordon777
    @jamesjordon777 Před 5 lety

    Awesome!

  • @ashishrane1352
    @ashishrane1352 Před 5 lety +2

    Thanks for the clear explanation and as suggested I had a look at cassandra architecture .
    I have a question about when a node goes down new writes to that node will be directed to other node. which means the hashes get remapped .
    Q1 : Also if the node after a while comes up then would it again be responsible for same hash range or different range?
    Q2: Does data balancing occur everytime a node goes down or joins the cluster?
    Q3: What happens to the read/writes during the time this re-balancing is happening? Specifically availability?
    Q4: Typically how long would the re-balancing operation take place.?
    Maybe it would be good if we have video on Cassandra

  • @harishtatikonda3153
    @harishtatikonda3153 Před 5 lety

    Thank you so much. It really helps.Can you please explain about craigslist system design and its api design

  • @vitaliano01
    @vitaliano01 Před 3 lety

    Thank you!

  • @suvetha18
    @suvetha18 Před 5 lety

    Great.

  • @shivamahuja840
    @shivamahuja840 Před 4 lety

    sir you are best

  • @postman12
    @postman12 Před 3 lety

    You are my man!

  • @ektagupta2293
    @ektagupta2293 Před 4 lety +1

    Thanks Narendra, I have just started viewing your series of videos on Distributed system design.
    Your explanation looks simple and good.
    However, I have one basic question to as you... why have you used term "Datastore" and not used "Database". Any particular reason regarding usage of this terminology?

  • @singh07neeraj
    @singh07neeraj Před 4 lety +1

    Sir please make video for IRCTC system design

  • @nknnithinabc
    @nknnithinabc Před 5 lety +13

    NOTES:
    In this cluster, there is no Such Master/Slave
    Every Node stores a portion of data[Primary duty] and backup of other nodes[Secondary duty]
    2:09 - NOSQL data is stores in various nodes
    6:50 - Consistent Hashing tells us which node shud backup which data of which node
    9:20 - In case of sharding, records go to server based on key Values. In consistent hashing, records go to server based on values of hash(Key)

    • @sauravdas7591
      @sauravdas7591 Před 4 lety +1

      So what is the difference between sharding and consistent Hashing?

    • @RandomShowerThoughts
      @RandomShowerThoughts Před rokem

      @@sauravdas7591 consistent hashing is a strategy for sharding

  • @tylerforrester743
    @tylerforrester743 Před 4 lety

    This really helped me thank you.

  • @sauravdas7591
    @sauravdas7591 Před 4 lety

    What algorithm is used for Rebalancing after a node is added/deleted?

  • @Ayush-gp9tx
    @Ayush-gp9tx Před 4 lety

    U are really good at teaching but pleas enhance the sound quality.

  • @mohammadshahmohammadi3957

    any good resources to check out the internal working of Cassandra? tnx

  • @varunupadhyay3836
    @varunupadhyay3836 Před 5 lety +1

    Great videos. Please make some videos on the role of concurrency in the context of distributed systems/System Design interview?

  • @shivarajbakale6261
    @shivarajbakale6261 Před 5 lety

    What are some good books on architecting such systems?

  • @bhavyabansal1143
    @bhavyabansal1143 Před rokem

    I dont think thats how data gets replicated to other nodes. If I am updating some data, each replicated node gets the entire data not random pieces from it. In your example when [1,2,3] came to node1, and if replication factor is lets say 2. then 2 more nodes (clockwise or anti-clockwise) get that data too (sync or asnycn replication based on how we define). Am I missing anything here?

  • @ankittikna123
    @ankittikna123 Před 3 lety

    Sir,what if primary and secondary node containing data as CAT go down in such a distributed datastore..

  • @fiascoDazzle
    @fiascoDazzle Před 3 lety

    Great videos! Question - are there any RDMS distributed dbs? Why does NoSQL works better for distributed datastore?

    • @KrishnaPatel-qu6nh
      @KrishnaPatel-qu6nh Před rokem

      NoSQL there are not joins and aggreagtion,so its easy to scale NOSQL Datastores...and yes AMAZON RDS is the example of distributed RDMS, but its has some limitation. ´

  • @gopeshkhandelwal9823
    @gopeshkhandelwal9823 Před 2 lety

    Can you refer some resources from where we can learn the internals of cassandra?

  • @MohanaKrishnaVH
    @MohanaKrishnaVH Před 5 lety

    Awesome explanation.
    Just one doubt. What is the logic for getting the partition key ?

  • @ganeshr0308
    @ganeshr0308 Před 4 lety

    so can you please address the original question as to how we should store millions of users in a datastore which was mentioned in the first video?

  • @anuragreddygv323
    @anuragreddygv323 Před 5 lety +2

    @techdummies -- are you doing more videos on the concepts?

    • @TechDummiesNarendraL
      @TechDummiesNarendraL  Před 5 lety

      Yes, It will be available in January.(there is a slight delay as I am on long trip :l )

  • @MuthuKumar-ub1mp
    @MuthuKumar-ub1mp Před 4 lety

    How the distributed datastore happens in SQL databases ?

  • @sumonmal009
    @sumonmal009 Před 3 lety

    THIS COMMENT IS FOR MY PERSONAL REFERENCE. TO UNDERSTAND PROPERLY WATCH THE FULL VIDEO
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    idea 0:58
    partitioning 1:57
    partition and replication example 3:57
    consistent hashing 7:17
    replication factor 12:19
    rebalancing node addition 14:43
    rebalancing node deletion 17:45

  • @mayankrathore7558
    @mayankrathore7558 Před 5 lety

    Narendra I would like to request your session on Google docs please

  • @gurmeetchawla8362
    @gurmeetchawla8362 Před 5 lety

    could you please do something about the sound of your videos. sound is low.

  • @mrmca1
    @mrmca1 Před 3 lety

    19:37 In case of HDFC :D listen in 0.5 speed

  • @AbhishekKumar-hi8oj
    @AbhishekKumar-hi8oj Před 5 lety

    nice explanation.