In Memory databases internals for system design interviews

Поделиться
HTML-код
  • Опубликовано: 28 июн 2024
  • This video is about the Inmemory db or realtime db or Main memory databases, its importance, performance characteristics, design and use cases.
    #realtimedatabase #databseinternals #howdatabasesworks
    #microservice #learnmicroservices #totorialssystemdesign #microservicestutorials
    #systemdesigntips #systemdesign #computerscience #learnsystemdesign #interviewpreperation #amazoninterview #googleinterview #uberinterview #micrsoftinterview

Комментарии • 63

  • @kumarc4853
    @kumarc4853 2 года назад +3

    awesome.
    Cleared many interviews, got offers. Many thanks to Master Narendra.

  • @KlgPalpatin
    @KlgPalpatin 3 года назад +12

    I appreciate your efforts to teach us! Awesome video. I especially like that you focus not only on design examples but on fundamental things and patterns also. These are much more helpful to become confident on the interview.

  • @AnirudhNain
    @AnirudhNain 4 года назад +2

    Great video. Thanks for covering this topic in depth and comparing it with relational database.

  • @euv921
    @euv921 3 года назад

    Extremely helpful. Thank you for making this video!

  • @RajanKumar-ol2qf
    @RajanKumar-ol2qf 3 года назад +2

    This is amazing. Thanks for the amazing tutorial.

  • @Miguel-ym2rr
    @Miguel-ym2rr 3 года назад

    Awesome!!, Great video.

  • @ramwisc1
    @ramwisc1 3 года назад +1

    Excellent video! I have read about in memory dbs but this video simplified a lot of concepts for me - thank you!

  • @ragdoll2324
    @ragdoll2324 3 года назад

    Thanks for the awesome vdo!

  • @MuhammedBasil
    @MuhammedBasil 2 года назад

    It is a great video. Thanks for a wonderful explanation.

  • @chankibiswas532
    @chankibiswas532 2 года назад

    Excellent is word!! Hats off... & Thanks

  • @user-oy4kf5wr8l
    @user-oy4kf5wr8l 4 года назад

    As usual, super great video. Thank you so much !!!!! seriously, bro!

  • @carlaludgate6597
    @carlaludgate6597 2 года назад

    This is such an informative video. Thank you!

  • @souravkar4867
    @souravkar4867 4 года назад

    Thank you. Nice explanation.

  • @PiyushSingh-vx7bx
    @PiyushSingh-vx7bx 3 года назад +1

    Awesome 🔥

  • @venkateswaran8752
    @venkateswaran8752 4 года назад

    awesome explanation

  • @lofmaan
    @lofmaan 2 года назад

    This is the best tutorial I have ever seen

  • @rahuljain070817
    @rahuljain070817 4 года назад

    Very very good man

  • @mauricioroldanramirez821
    @mauricioroldanramirez821 7 месяцев назад

    Excellent :)

  • @Wei-up2jn
    @Wei-up2jn 3 года назад

    Great talk Narendra! The way you presented make it very easy to understand! I like it a lot!

  • @NavneetVermalivefree
    @NavneetVermalivefree 4 года назад +6

    can you make a video on how on the Ad bidding system design. I think there will a lot things going in those systems. In this video you covered some part, but it would really help if you can go in more details.

  • @aneksingh4496
    @aneksingh4496 3 года назад

    awesome Naren !!!

  • @ThinkSoftware
    @ThinkSoftware 4 года назад

    Nice video

  • @castkro3223
    @castkro3223 3 года назад +10

    I feeling like, to be a system designer you have to know everything, like you have to be a Full Stack Developer, DevOps and everything

  • @danieldziubecki3939
    @danieldziubecki3939 3 года назад +5

    Nice video, but I think there is a mistake. 7:49 WAL is file which is stored on disk and is used for recover from failures. In your example it should be in RDBMS/Disk table.

  • @babukotha2010
    @babukotha2010 3 года назад

    Nice

  • @sourabha2009
    @sourabha2009 4 года назад

    Good

  • @saidattathallam
    @saidattathallam 3 года назад +1

    Aerospike uses LSM tree and btrees to index the SSTables. Their architecture did not mention about AVL trees.

  • @SumanAmara
    @SumanAmara 3 года назад

    Hi nice sir can take a video about memsql it is going to be game changer in IT ...

  • @modulus4873
    @modulus4873 4 года назад

    Make a system design video on LinkedIn

  • @eshwarkolluru7132
    @eshwarkolluru7132 4 года назад

    Hey thanks for the wonderful video, It could be really great if you can suggest some books to newbies

    • @Pifagorass
      @Pifagorass 4 года назад +1

      Datenbankenlearnen.de (material both in German and English)

    • @Pifagorass
      @Pifagorass 4 года назад

      Try also 'CMU Advanced Database Technologies' on RUclips

  • @vishalgupta-tw4yt
    @vishalgupta-tw4yt Год назад

    1) How does WAL handle concurrent updates. Could there be a scenario where 2 conflicting updates are applied in different order in inmemory database and the backup database
    2) what happens if the update in the in memory database succeeds but the write to the WAL fails ?

  • @aleksey6325
    @aleksey6325 2 года назад

    AVL is one the implementations of BST

  • @dataguy7013
    @dataguy7013 4 года назад +3

    Naren, what is the diff between Distributed cache and real time DB. Is it that, in real time DB, you have a query language and a cache you dont have SQL but need to write your own APIs

    • @TechDummiesNarendraL
      @TechDummiesNarendraL  4 года назад

      Yes. RTDB provides all features of database, where as cache is just a key value pair. Not built for persistence but you can configure to persist.

  • @abhaytiwari6411
    @abhaytiwari6411 4 года назад

    pls maintain continuity

  • @dataguy7013
    @dataguy7013 4 года назад

    Naren, what is the reason for using AVL for in memeory. Why not just a tree structure? The why would be helpful

    • @madeehak696
      @madeehak696 4 года назад +5

      If you use normal tree then there are chances of it to get skewed which will increase the complexity. Since AVL balances itself, it prevents tree to get skewed and thus maintains the logarithmic complexity.

  • @jivanmainali1742
    @jivanmainali1742 3 года назад

    sir make a video on how whatsapp web works??

  • @nalamda3682
    @nalamda3682 Год назад

    Not able to get what is advantage of using AVL rather than B+, can anybody please help?

  • @Hmm1298-8
    @Hmm1298-8 4 года назад

    can you suggest some books? much appreciated...

    • @bryannie3656
      @bryannie3656 4 года назад +3

      I think some knowledge is covered in DDIA: www.amazon.com/Designing-Data-Intensive-Applications-Reliable-Maintainable/dp/1449373321

  • @Pifagorass
    @Pifagorass 4 года назад +1

    Sinse then RDBMS doesn't use WAL? ... Good effort overall

    • @StoicCoder_
      @StoicCoder_ 3 года назад +1

      he did say RDBMS also use WAL at 19:47

  • @techcare466
    @techcare466 4 года назад +1

    Sir can you recommend books for system design please sir.

    • @aslamshaik718
      @aslamshaik718 4 года назад +5

      Data Intensive applications by Martin Klepmann

    • @eugnsp
      @eugnsp 4 года назад

      @@aslamshaik718 Martin Kleppmann

    • @aslamshaik718
      @aslamshaik718 4 года назад

      @@eugnsp Thanks for correcting.

  • @9fxhrlif9er
    @9fxhrlif9er 3 года назад

    6:05 what file is used? Are you saying "Vol" file?

  • @anujsfavouritesongs
    @anujsfavouritesongs 3 года назад

    Now NVRAM is available- Intel Optane.

  • @faizanfareed9076
    @faizanfareed9076 4 года назад

    NASA

  • @pritamghosh270
    @pritamghosh270 4 года назад

    Sir your videos are awesome. But sounds are too low.

  • @stoneshou
    @stoneshou 4 года назад

    Next up: sql engine

  • @hqdevelopers3697
    @hqdevelopers3697 4 года назад

    Hi!
    Great video as usual!
    Thank you for sharing this info with the community!
    However I am missing how the process of "compaction" is done in a efficient manner:
    ruclips.net/video/zkACt4NYkU4/видео.html
    We have the WAL file and I understood that appending at the end is very efficient.
    But how will it work compaction on this file?

    • @siddharthbhattacharya380
      @siddharthbhattacharya380 3 года назад

      It's an offline process, iterating over records and compressing/ purging them. These can be trigerred based on time/events.

  • @abhiuser4260
    @abhiuser4260 3 года назад

    This video just wrong at so many different levels. People please refrain from watching such toxic videos

    • @jyotheeswarareddyjerrimadu4183
      @jyotheeswarareddyjerrimadu4183 3 года назад

      Abhi - Naren doesn't have any intention to teach us wrong things but at the same time he can't be perfect. So please correct his understanding and help viewers if you really care. :)