Redis In-Memory Database Crash Course

Sdílet
Vložit
  • čas přidán 9. 07. 2024
  • Redis is a noSQL key-value store, in memory database first that exploded in popularity in the past few years. In this video slash course, we will explain what Redis is, talk about the in-memory model, the optional durability, replication, clustering publish subscribe and the protocol and finally we will go through examples. During the video I will add time codes to each topic so you guys can jump to the topic that interests you the most.
    Download Slides here
    payhip.com/b/rOlJ
    (Members get all slides for free. Become a Member to support the channel)
    / @hnasr
    0:00 Intro
    0:30 Why Redis became the most popular Database
    12:20 Redis Crash Course
    Table of Content and TimeCodes
    Commands
    Docker run --name redis -p 6379:6379 redis
    docker exec -it rdb redis-cli
    🎙️Listen to the Backend Engineering Podcast
    husseinnasser.com/podcast
    🏭 Backend Engineering Videos
    backend.husseinnasser.com
    💾 Database Engineering Videos
    • Database Engineering
    🏰 Load Balancing and Proxies Videos
    • Proxies
    🏛️ Software Archtiecture Videos
    • Software Architecture
    📩 Messaging Systems
    • Message Queues & PubSu...
    Become a Member
    / @hnasr
    Support me on PayPal
    bit.ly/33ENps4
    Join our Thriving Backend Community on Discord
    / discord
    Stay Awesome,
    Hussein
  • Věda a technologie

Komentáře • 69

  • @hnasr
    @hnasr  Před 3 lety +12

    Learn the fundamentals of database systems to understand and build performant backend apps
    Check out my udemy Introduction to Database Engineering
    husseinnasser.com/courses

  • @surbhipaliwal879
    @surbhipaliwal879 Před 2 lety +2

    Hello Nasser, your content is brilliant and the way you talk and present tops it. Its like having a coffee table discussion with you about a topic(my role being a good listener). I leant a lot of concepts at its core. I have been looking for a content like this for long. Big thanks man!

  • @1realseth1
    @1realseth1 Před 2 lety +3

    I did not have seen that many tutorials/crash course as good as yours to follow!😁 for me it was perfect. Entertaining and still got all the Infos I wanted/needed.
    Thank you! Keep on!

  • @SpotAllen
    @SpotAllen Před 3 lety +11

    I know this is off topic. One thing I love about Hussein's manner of speaking, is that he doesn't sound weird at 1.5x speed, which is very rare. :)

  • @Zolo00
    @Zolo00 Před 3 lety +6

    Hussein you are the man! I recommend all my coworkers to your channel.

    • @hnasr
      @hnasr  Před 3 lety +3

      Much appreciated !!! Thanks

  • @ricardoislasruiz3186
    @ricardoislasruiz3186 Před 3 lety +3

    Man you are the best! I cannot believe that you don't have a million subscribers! I love your work and I have learned a lot of it! Thank you so much! Greetings from Mexico

    • @hnasr
      @hnasr  Před 3 lety +1

      Thank you Ricardo! ❤️ love to all my subs from beautiful Mexico 🇲🇽

  • @dennysam829
    @dennysam829 Před 3 lety +1

    The only CZcamsr who asks you to skip to the content you love so that you don't waste your time, instead of increasing his watch time!

  • @CodingNuggets
    @CodingNuggets Před 3 lety +2

    Thanks for this. I've been needing a refresher. Appreciate you Hussein. See you soon!

  • @coding_ss632
    @coding_ss632 Před 3 lety +29

    This video is done, waiting for part-2 of the crash course. Where you'll give examples of clustering & replication with redis. 🥰🥰🥰

  • @isaacfrost9798
    @isaacfrost9798 Před 3 lety +6

    Hussein thanks a lot I learned a lot from you. Baraka laho fik.

  • @rajeevsinha7884
    @rajeevsinha7884 Před 2 lety +2

    Hello Mr. Nasser, Your way of presenting the topic is really awesome and way different than typical lecturing, I loved the content and listening the videos. lot of regards from India.

  • @snghnishant
    @snghnishant Před 3 lety +2

    You made Redis like a piece of cake to understand. Great video now I am going to learn Redis also.

  • @redhood7105
    @redhood7105 Před 3 lety +8

    You are the sole reason I concurred my fear of backend/servers and now am I actually half decent backend developer

  • @snehotoshbanerjee1938
    @snehotoshbanerjee1938 Před 2 lety

    Great video Hussein. The first in-memory database I worked on a couple of years back was TimesTen. We usually use this along with the main Oracle DB for caching aggregates. You can sync data, mostly aggregates for faster reporting defaulted to that particular aggregation hierarchy.

  • @tech3425
    @tech3425 Před rokem

    Good starter video. Would love more coolish stuff from redis :)

  • @djole010
    @djole010 Před 3 měsíci

    Great video, very infomative, I love your style.
    Here are my 2 cents about HTTP vs TCP:
    If I was designing a DBMS I would also use TCP. HTTP uses TCP in the background. TCP keeps permanently open socket connection, whereas HTTP closes the socket connection after each request/response cycle, and that adds overhead to communication. Also with TCP you can have just as much security as with HTTP with TLS, since it's the same underlying principle.

  • @coding_ss632
    @coding_ss632 Před 3 lety +2

    You're my favourite tech CZcamsr. You honestly deserve more than a million subscribers. Thank you for putting out such a good content. More power to you.

  • @yogeshchaudhary621
    @yogeshchaudhary621 Před rokem

    God level explanation!

  • @ajcwhite
    @ajcwhite Před 3 lety

    Perfect timing!

  • @joshualoew8976
    @joshualoew8976 Před 3 lety

    Thanks!

  • @romantsyupryk3009
    @romantsyupryk3009 Před 3 lety +1

    Thanks very much for this video.

  • @avi12
    @avi12 Před 3 lety +11

    3:34 In Latin, "per cent" means "out of hundred"
    So people commonly write it as one word
    Credit to Eddie Woo

  • @Dimich1993
    @Dimich1993 Před 2 lety

    splendid🤗

  • @kapilsonyt
    @kapilsonyt Před 3 lety

    Thank you so much sir.

  • @bijeesraj007
    @bijeesraj007 Před 3 lety +3

    Am I the only one hit like button then watch ? You earned my trust

    • @hnasr
      @hnasr  Před 3 lety +2

      ❤️❤️❤️❤️

  • @mishasawangwan6652
    @mishasawangwan6652 Před 3 lety +1

    redis is simple to install, configure and use , with sdk s available for all major programming languages and good performance out of the box. it’s no surprises we all love it.

  • @indiansoftwareengineer4899

    I have upcoming interview at big unicorn startup and I have to complete take home assignment which has redis implementation, I will update you after passing it....
    love you sir.

  • @SadgeZoomer
    @SadgeZoomer Před 3 lety +2

    shukran gazilan

  • @justafreak15able
    @justafreak15able Před 3 lety

    So you can use Redis as your primary DB? No caveats?

  • @luisribeiro5639
    @luisribeiro5639 Před 7 měsíci

    Imagine, REDIS with non volatile memory, like the future ReRAM as your storage.....the perfect match, Millions of Rps on a commodity server. Everybody will choose REDIS and the infrastructure will be simplier (no more cache all in non volatile memory accessible in sub millisecond). For me, REDIS with ReRAM is the futur. No need of Snapshop or AOF, no care about the size of the memory, the dream.

  • @kfc-enjoyer-based
    @kfc-enjoyer-based Před 3 lety

    You can use the arrow keys to navigate between previous commands or use !! to get the prev command

    • @hnasr
      @hnasr  Před 3 lety +1

      Great tip!!! Thanks

  • @Callmedstone
    @Callmedstone Před 3 lety +1

    My god, I want to do blow with this guy and see what genius startup we come up with

  • @BhaaRaThh
    @BhaaRaThh Před rokem

    Do you know what to explain in part 2

  • @fahadaldhafairi2322
    @fahadaldhafairi2322 Před 3 lety

    Good Job. If it possible Do Memcached with Node.js or PHP

  • @cj8tacos123
    @cj8tacos123 Před 3 lety

    i was just watching the old redis video lol

  • @re1nth98
    @re1nth98 Před 2 lety +1

    Doesn't Http use tcp? You are comparing an application layer with transport layer. I guess Resp and Http are comparable. Correct me if wrong.

  • @avatsavirs
    @avatsavirs Před 3 lety +1

    28:00 TCP and HTTP aren't competing protocols. TCP is a transport layer protocol and HTTP is an application layer protocol. In fact HTTP uses TCP in transport layer.

    • @ladmerc
      @ladmerc Před 3 lety +3

      I think he didn't insinuate that they're competing. As you mentioned, HTTP is built on top of TCP so there's always going to be some overhead when using HTTP instead of TCP. For example, HTTP would parse headers, format of data etc
      I think what he's curious about is if these overheads outweigh the benefits of using HTTP

    • @muhaimintaib
      @muhaimintaib Před 3 lety

      @@ladmerc agreed. He’s just wondering why most other databases (not all) are creating their own protocol on top of raw TCP (this is what Redis does), instead of just using the new HTTP/2 where you can keep the TCP connection open and streams requests back and forth. Using QUIC (soon to be HTTP/3) is also an option.

  • @Technicalgogi
    @Technicalgogi Před 5 měsíci

    hi, Hussein i have a question and it will not take long to answer so, plesase answer it
    question: just after completing high school i had purchased a web development course and learned a lot. After some 3-4 months i endup with a job. It is now 4 months of job. at this point i am enjoying and also learning a lot from nice gurus like you. But i want to go more deeper into computer science like how operating systems, db systems, cpu executes instructions works, do i need to join college to learn all these stuffs or i can learn by my own by joining some good community, opensource, reading book etc.

    • @omar-senpaiii
      @omar-senpaiii Před měsícem

      You can learn them by yourself.
      Hussein himself has courses for both db & os fundamentals.

  • @sachinghait3723
    @sachinghait3723 Před 3 lety

    @hussain you can append ?sub_confirmation=1 in channel link on your website, it will ask if user wants to subscribe in a pop-up

  • @ProgrammingLinguist
    @ProgrammingLinguist Před 2 lety +1

    I think couchdb uses http as the protocol

  • @mithunchopda
    @mithunchopda Před 2 lety

    Hey! Hussain. How about collaborating on building an Http based Database? 😎

  • @ProJS-wj4xh
    @ProJS-wj4xh Před 3 lety

    I think single is best for system need fast response but multi needed in task need time like data anlize and data Science
    or Processing video or images and i think non block single thrid like nodejs its gorgeous..

    • @ProJS-wj4xh
      @ProJS-wj4xh Před 3 lety +1

      At the end of the day nodejs use multi at the behind of the seen.. but its still single 😂😂.
      like javascript its not single thrid language but in browser it is..
      and new we can use multi in browser

    • @ProJS-wj4xh
      @ProJS-wj4xh Před 3 lety +2

      it called web workers..

  • @kayeshparvez
    @kayeshparvez Před 3 lety

    why are we calling pub-sub instead of queue ?

  • @Luxcium
    @Luxcium Před 3 lety

    What about streams ?

    • @mohamedhabas7391
      @mohamedhabas7391 Před 3 lety +1

      They are quite trikey , I have been hunting for a way to deal with them , the only approach I found is people using custom data frames and processing them as a sequence of json strings.
      I wish if someone is familiar with dealing with streams would give his/her opinion

    • @Luxcium
      @Luxcium Před 3 lety

      @@mohamedhabas7391 the few videos I have looked are examples of how to use them but no real use case the video are with Salvatore Sanfilippo himself (2 years ago) he does it quickly in vim in front of us but not only he is well prepared but we can imagine that he knows intrinsically what he is talking about

  • @menzeus4293
    @menzeus4293 Před 2 lety

    you babble too much of unnecessary things and diverted from the topic so many times

  • @izureki
    @izureki Před rokem