What is Redis and What Does It Do?

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ • 181

  • @AThingOrTwoU
    @AThingOrTwoU Рік тому +23

    I started a LinkedIn course on Redis, just to see what is it about. After 20 minutes I started to search on UA-cam for a summary of Redis and get the meaning of it in short time. This explanation is short, understandable, just great. Thanks!

    • @spectacularangular637
      @spectacularangular637 Місяць тому

      Same here... Linkedin Learning is so verbose and dragged out to increase their minutes...

  • @riskitall7421
    @riskitall7421 2 роки тому +31

    Awesome explanation Trevor. Breaking down problems into dummy understanding is an art.

  • @pinxtr
    @pinxtr 3 роки тому +219

    My man looks like he's putting tutorials straight from Antarctica

    • @codepractices7
      @codepractices7 3 роки тому +1

      I think he looks pretty similar to Twitter's CEO Jack Dorsey...

    • @kw19991
      @kw19991 8 місяців тому

      This is why indexes were invented, to reduce retrieval time for a query.

    • @h456-m1l
      @h456-m1l 2 місяці тому

      Proudly, the 200th like

    • @comvnche
      @comvnche 2 місяці тому

      Damn no I can't take him seriously xD

  • @courageahorttor7666
    @courageahorttor7666 3 роки тому +24

    Awesome elaboration. He hit the nail straight to the point

  • @ekanastone
    @ekanastone 3 роки тому +132

    I thought u were Jack Dorsey at firsts lol

  • @kaushikdr
    @kaushikdr 3 роки тому +8

    I have to admit, I was initially distracted by your glorious beard! :D
    I have a few questions I hope you can clarify -
    1) Why is querying Redis faster than directly querying a database - is it because there is less amount of data to search from? Also, at what point does the cache start removing data? Is the oldest data removed first or is it the data that is accessed least often?
    2) If we are using a cache worker to update the Redis cache every time there is a change to the database, why is this any faster than just directly querying the database? It seems that in this case, the Redis cache contains the same amount of information as the database and that the database would be updated before the Redis cache anyways.

  • @PowerUsr1
    @PowerUsr1 3 роки тому +7

    This is a really good video. I’m a network engineer playing with docker and I’ve seen this a few times. Always wondered what it is.

  • @Paul_Aderoju
    @Paul_Aderoju Рік тому +2

    Thank you so much. Heard Vercel recently implemented a Key-Value system, and it’s a Redis-like data system. This video gave me a good overview of Redis.

  • @RedisUniversity
    @RedisUniversity 3 роки тому +14

    Couldn't have put it better, great work!

  • @StrikerEureka85
    @StrikerEureka85 2 роки тому +3

    FINALLY! a clear explanation as to what it actually does. thank you for this.

  • @ThefamousMrcroissant
    @ThefamousMrcroissant 3 роки тому +11

    Aha, so basically an in memory cache. Very well structured video; shows the problem and how Redis attempts to solve it, making it intuitive to grasp its purpose.

    • @deedoodeedoo6382
      @deedoodeedoo6382 3 роки тому +1

      @Alek Wolf I'm a complete beginner at Redis, but this seems to be a general software problem. Since Redis is an in-memory app that strives to use cache, to decrease the wait time for common data queries, it is based on RAM usage. Since it is based on RAM usage, it's limited by the RAM provided with the machine. I don't think BigData ever was a viable target for usage of Redis. BigData can return huge responses to queries and it's not really feasible to hold it all in limited RAM, a few bigger reports and OOM is achieved. I suppose at that point a better approach would be putting in resources to speed up the access to BigData resources and optimizing queries.

    • @adityamittal4357
      @adityamittal4357 2 роки тому

      This isn't what redis is, this is just an explanation of how a cache works. Caching is just one use case for redis. This video will make beginners think that redis is a cache, which is false. Redis is an in-memory key-value store with pub-sub model with many use cases such as creating event streams in architecture beyond mere caching.

  • @davidmunyiri6147
    @davidmunyiri6147 Рік тому

    That's a nice explanation Trevor, i like the way you explained bit by bit to understanding level

  • @didorins4994
    @didorins4994 2 роки тому

    Thanks for starting from User experience, so we can understand the use-case clearly.

  • @baolam4180
    @baolam4180 2 роки тому

    awesome explanation and greatly clear english speaking. I can fully listen to you without looking at the sub. Well done!

  • @Food.5inder
    @Food.5inder Рік тому

    Awesome dude... simple and crispy explanation. Keep it up appreciate.

  • @MrPx0727
    @MrPx0727 2 роки тому +2

    Very good in explaining Redis serving as a cache system; would be nice to expand to all important features of Redis ...

  • @Shuubham_Harilal_Saroj
    @Shuubham_Harilal_Saroj 2 роки тому +2

    real quick and awesomely covered in less time.

  • @osmangani4966
    @osmangani4966 3 роки тому +5

    simple and clear, to the point.......really like the way you explain.

    • @jackcastro9583
      @jackcastro9583 3 роки тому +2

      i agree with your thinking!🥤cheers🥤

  • @lil_soum
    @lil_soum 4 місяці тому +1

    You did such a great job explaining this, thank you.

  • @kunalb2051
    @kunalb2051 3 роки тому +4

    Best video on Redis ❤️

  • @Kirimoshi
    @Kirimoshi 7 місяців тому

    I like the way you explain things, please keep going 👍

  • @mohammadzulqarnain6288
    @mohammadzulqarnain6288 3 роки тому +1

    Simple and precise, it made me recall how my fried explained me about Redis and Guava caching but unfortunately i dont recall the difference btw them.

  • @junaid-vc3js
    @junaid-vc3js Місяць тому

    Many thanks for the explanation

  • @RoshanakRahimi-d1p
    @RoshanakRahimi-d1p Рік тому +1

    thank you, it was so helpful

  • @ShukyPersky
    @ShukyPersky 3 роки тому +2

    Sounds interesting
    1. What are the memory requirements in the case of a large-scale database to keep this solution effective?
    2. How effective this solution for a system that generates random access to a large-scale database?
    in which case Redis cache would require a lot of memory to stay effective
    I think that these topics should be referred to by the video.

    • @cbtnuggets
      @cbtnuggets  3 роки тому +4

      Hi Shuky, thank you for your questions.
      It will really depend on the load and amount of data, but there are some profiles in AWS and Azure that will be for enterprise requirements up to 14TB of memory. docs.microsoft.com/en-us/azure/azure-cache-for-redis/cache-planning-faq#azure-cache-for-redis-performance This is a good break down of some performance recommendations.
      We hope this is helpful! Thank you for learning with us.

  • @juneldomingo6277
    @juneldomingo6277 2 роки тому +2

    Great explanation! wonder what will happen to traffic if the redis goes down? will the web goes down as well as it cant retrieve data from cache? or will the web traffic will go directly to the database. Thanks

  • @abbasabdulsalambamidele8760
    @abbasabdulsalambamidele8760 4 місяці тому

    Very well explained. Thanks

  • @vop0092
    @vop0092 Рік тому

    Awesome explanation in easy way ❤

  • @Acumen928
    @Acumen928 3 роки тому +5

    Just what I needed.

  • @torrvic1156
    @torrvic1156 6 місяців тому

    Thank you so much! That was very informative! I learned the scenarios of how I can use Redis.

  • @renyirish
    @renyirish 11 місяців тому

    Excellent explanation, thanks a lot 🤗

  • @none0n
    @none0n 2 роки тому

    Thanks for the great explanation. So in order words, without a cache workers, redis won't be aware of new data and there is always the risk to fetching stale data?

  • @kinax2
    @kinax2 3 роки тому +5

    What if the user has updated he is info, Would the user get an old data or new data?

  • @gagang.r684
    @gagang.r684 Рік тому

    Thank you. It cleared all my doubts😀

  • @ann_uken
    @ann_uken Рік тому

    Thank you for your great explanation! 💥

  • @rednejiv123
    @rednejiv123 3 роки тому +4

    Excellent video! Thanks a lot.

  • @VishalSharma-k7b
    @VishalSharma-k7b Рік тому

    Clean and clear. Thank you very much!

  • @koders9778
    @koders9778 3 роки тому +5

    This was very helpful. Thanks sir!

    • @cbtnuggets
      @cbtnuggets  3 роки тому +3

      We're so glad it's helpful for you! Thank you for learning with us.

  • @rupeshsingh3607
    @rupeshsingh3607 2 роки тому

    Nice video Sir ,please carry on ,nice voice clarity and representation

  • @aparnasaha9729
    @aparnasaha9729 9 місяців тому

    excellent explanation

  • @bsummer
    @bsummer 2 роки тому

    Wish we all Had Guys like this before College.
    Redis, which stands for Remote Dictionary Server cements it

  • @IchEsseKonsolen
    @IchEsseKonsolen 3 роки тому +5

    Liking for the adorable outro. It HAS been informative for me!

  • @tylercode2207
    @tylercode2207 Рік тому

    That was really helpful...Thank You!!

  • @姚瑶-q8w
    @姚瑶-q8w 2 роки тому +1

    very clear explanation. make us impressed a lot.

  • @mirishfaqhussain9302
    @mirishfaqhussain9302 2 роки тому

    awesome explanation jack dorsey

  • @ans42101
    @ans42101 Рік тому +1

    Thank you for the explanation, you made it simple to understand.

  • @krishnashah6654
    @krishnashah6654 9 місяців тому

    Store data in a redis cache instance and retrieve that data from the RAM of the server that’s running the service.
    Initially the instance doesn’t have any data instead of it’s config data.

  • @indrranil24
    @indrranil24 2 роки тому +1

    awesome loved it!!!!

  • @rehamalbulushi520
    @rehamalbulushi520 2 роки тому

    thank you for such a quick useful explanation

  • @stevendaddario8803
    @stevendaddario8803 3 роки тому

    Wonderful Video! Thank you for the clear explanation!

  • @Joop5037
    @Joop5037 Рік тому

    Very good explanation.

  • @darrenklein6090
    @darrenklein6090 2 роки тому +1

    Thanks, that was very helpful.

  • @adamdymurski9342
    @adamdymurski9342 Рік тому

    Good for start. Thanks 😊

  • @Banjer
    @Banjer Рік тому

    Excellent explanation!!!

  • @chriskaye1997
    @chriskaye1997 2 роки тому +1

    Truly a great beard, so wow! much wisdom!

  • @canyoldas2855
    @canyoldas2855 Рік тому

    Very informative. Thank you.

  • @juejuepaing6985
    @juejuepaing6985 2 роки тому +1

    Thank you

  • @BassZeke
    @BassZeke 3 роки тому +1

    Fantastic! concise. clear

  • @workpfeiffer3428
    @workpfeiffer3428 2 роки тому

    good explanation. thakns a bunch

  • @duartelucas5746
    @duartelucas5746 Рік тому

    is there a follow up on this, or is this part of some series that is available elsewhere? Thanks in advance!

    • @cbtnuggets
      @cbtnuggets  Рік тому

      You can check out the course here: www.cbtnuggets.com/it-training/devops/redis-essentials
      If you're not a current subscriber, you can sign up for a FREE 7-day trial to watch: training.cbt.gg/sbp

    • @duartelucas5746
      @duartelucas5746 Рік тому

      @@cbtnuggets Thank you very much!

  • @shadymilkman10
    @shadymilkman10 2 роки тому

    That was a great breakdown thanks!!!

  • @shantanu143
    @shantanu143 2 роки тому

    awesome. simple and explained with diagrams !

  • @martinkarkovich3037
    @martinkarkovich3037 3 роки тому +1

    excellent explanation!

  • @aakarshanraj1176
    @aakarshanraj1176 6 місяців тому

    01:20 the query wont take 30s if made by a user since its most of the time OLTP

  • @LooneyTunesCarrot32
    @LooneyTunesCarrot32 Рік тому

    So does this mean that the redis caching service will only be a hit if there has already been an existing query on the DB?
    Also, will the cache itself ever get too full, then what?

  • @rahimeinollahi1
    @rahimeinollahi1 3 роки тому

    thanks for creating this video,

  • @ranjeetbadhe
    @ranjeetbadhe 2 роки тому

    Can you please let us know how the Redis implementation in Openstack Controller works?

  • @Ibrahim-oc5ql
    @Ibrahim-oc5ql 4 місяці тому

    very informative. thanks gistalot

  • @BlueDolphinBlues
    @BlueDolphinBlues 8 місяців тому

    Hi Trevor Sullivan

  • @diet92
    @diet92 Рік тому

    Well understood 😎. Thanks

  • @DebbieGOfficial
    @DebbieGOfficial Рік тому

    Well explained

  • @globalclutter9508
    @globalclutter9508 3 роки тому +2

    Very informative.

  • @rasnacv3802
    @rasnacv3802 3 роки тому

    Thank you for this content. very helpful

  • @francoisbourdages2906
    @francoisbourdages2906 2 роки тому

    thanks, very well explained and clear

  • @williamfriedeman7078
    @williamfriedeman7078 3 роки тому

    Wonderful tutorial, thank you.

  • @ns4k_tv
    @ns4k_tv Рік тому

    Thanks! Helped me alott!!

  • @niponchanda8356
    @niponchanda8356 3 роки тому

    Greatly explained

  • @edwardfraser688
    @edwardfraser688 3 роки тому +1

    Great explanation thanks.

  • @quirkyquester
    @quirkyquester 3 роки тому

    Great video!

  • @spongechameleon6940
    @spongechameleon6940 2 роки тому

    So is the preferred pattern to have your webserver do all reads from redis, and all its writes to the database? Then run a cache worker so that the cache gets updated automatically?

    • @adityamittal4357
      @adityamittal4357 2 роки тому

      This video isn't what redis is, this is just an explanation of how a cache works. Caching is just one use case for redis. This video will make beginners think that redis is a cache, which is false. Redis is an in-memory key-value store with pub-sub model with many use cases such as creating event streams in architecture beyond mere caching. Redis is a tool, like a nail, your preferred pattern in how to use it depends on your architecture which you need to create.

  • @md.musharaf.m
    @md.musharaf.m 2 роки тому

    Thankyou

  • @nicklowe_
    @nicklowe_ Рік тому

    I’m not totally clear how the amount of RAM allocated to a docker instance would be able to hold any substantial amount of data from a database. I understand how this is useful for commonly queried data, but wouldn’t the service have to be very selective in what it chooses to cache? And don’t we have to worry about available RAM for the web server? Does Redis ever battle the server for resources?

  • @briarsmith8241
    @briarsmith8241 2 роки тому

    Cache hit on the explanation

  • @UmairKhan-xz2df
    @UmairKhan-xz2df 2 роки тому

    Hi, can you please do a video on Ncache?

    • @cbtnuggets
      @cbtnuggets  2 роки тому

      Request here! www.cbtnuggets.com/request-training

  • @xtianseyer018
    @xtianseyer018 2 роки тому

    Thank you for this

  • @hackcodesfree9200
    @hackcodesfree9200 2 роки тому

    super explained

  • @nadirzeeshan1230
    @nadirzeeshan1230 3 роки тому

    SQL server already has buffer cache where it stores frequently used data from database. This helps in fast data retrieval.
    How is redis different from SQL Buffer cache ?

  • @i3looi2
    @i3looi2 5 місяців тому

    So why not do the caching at server/api level ?

  • @frogman3107
    @frogman3107 Рік тому

    Why do we need database when we can store everything in redis in the first place?

  • @thiagocnunes
    @thiagocnunes 3 роки тому

    Amazing content, tkss

  • @amanuelyohannes7151
    @amanuelyohannes7151 6 місяців тому

    I read somewhere redis is a great use case for chat apps. How does that be inline with caching I am very confused

  • @mikkeljensen1603
    @mikkeljensen1603 Рік тому

    save your self the trouble and just use redis as a database, it is amazing

  • @mazdanaqvy3754
    @mazdanaqvy3754 Рік тому

    Thanks

  • @brighteragyemang8765
    @brighteragyemang8765 3 роки тому

    Thank you!

  • @vishalk2798
    @vishalk2798 3 роки тому

    Well i had a query how long does the redis store a cache for is it for days or hours as if the cache does not clear then the redis cache size would get full right

  • @jordanpedroinvestimentos
    @jordanpedroinvestimentos Рік тому

    Good video

  • @zmark2274
    @zmark2274 2 роки тому

    That easy, thank you

  • @fireystella
    @fireystella 2 роки тому

    Thank u!

  • @androidsavior
    @androidsavior 2 роки тому

    where is the next video ? i cant find it

  • @sangtengkorak1954
    @sangtengkorak1954 3 роки тому

    I see no one is make it, so I'll do.
    You know extension of redis name?
    Redis what?
    Redis nutz
    Great video all in all, thanks for the explanation.