What is Redis and What Does It Do?

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 2025

ความคิดเห็น • 180

  • @pinxtr
    @pinxtr 3 ปีที่แล้ว +217

    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 7 หลายเดือนก่อน

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

    • @h456-m1l
      @h456-m1l 2 หลายเดือนก่อน

      Proudly, the 200th like

    • @comvnche
      @comvnche หลายเดือนก่อน

      Damn no I can't take him seriously xD

  • @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 TH-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...

  • @ekanastone
    @ekanastone 3 ปีที่แล้ว +132

    I thought u were Jack Dorsey at firsts lol

  • @riskitall7421
    @riskitall7421 2 ปีที่แล้ว +31

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

  • @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.

  • @courageahorttor7666
    @courageahorttor7666 3 ปีที่แล้ว +24

    Awesome elaboration. He hit the nail straight to the point

  • @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.

  • @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.

  • @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.

  • @baolam4180
    @baolam4180 2 ปีที่แล้ว

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

  • @didorins4994
    @didorins4994 2 ปีที่แล้ว

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

  • @davidmunyiri6147
    @davidmunyiri6147 ปีที่แล้ว

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

  • @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 ...

  • @kinax2
    @kinax2 3 ปีที่แล้ว +5

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

  • @Food.5inder
    @Food.5inder ปีที่แล้ว

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

  • @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 3 หลายเดือนก่อน +1

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

  • @Shuubham_Harilal_Saroj
    @Shuubham_Harilal_Saroj 2 ปีที่แล้ว +2

    real quick and awesomely covered in less time.

  • @rupeshsingh3607
    @rupeshsingh3607 2 ปีที่แล้ว

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

  • @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.

  • @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.

  • @RoshanakRahimi-d1p
    @RoshanakRahimi-d1p ปีที่แล้ว +1

    thank you, it was so helpful

  • @Kirimoshi
    @Kirimoshi 6 หลายเดือนก่อน

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

  • @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

  • @ans42101
    @ans42101 ปีที่แล้ว +1

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

  • @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?

  • @kunalb2051
    @kunalb2051 3 ปีที่แล้ว +4

    Best video on Redis ❤️

  • @IchEsseKonsolen
    @IchEsseKonsolen 3 ปีที่แล้ว +5

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

  • @bsummer
    @bsummer 2 ปีที่แล้ว

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

  • @krishnashah6654
    @krishnashah6654 8 หลายเดือนก่อน

    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.

  • @vop0092
    @vop0092 ปีที่แล้ว

    Awesome explanation in easy way ❤

  • @Ferruccio_Guicciardi
    @Ferruccio_Guicciardi ปีที่แล้ว +1

    Redis In-Memory database ! Redis Cache Service ! .... mmm... interesting.

  • @mirishfaqhussain9302
    @mirishfaqhussain9302 2 ปีที่แล้ว

    awesome explanation jack dorsey

  • @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.

  • @gagang.r684
    @gagang.r684 ปีที่แล้ว

    Thank you. It cleared all my doubts😀

  • @rednejiv123
    @rednejiv123 3 ปีที่แล้ว +4

    Excellent video! Thanks a lot.

  • @junaid-vc3js
    @junaid-vc3js 19 วันที่ผ่านมา

    Many thanks for the explanation

  • @姚瑶-q8w
    @姚瑶-q8w 2 ปีที่แล้ว +1

    very clear explanation. make us impressed a lot.

  • @torrvic1156
    @torrvic1156 6 หลายเดือนก่อน

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

  • @ann_uken
    @ann_uken ปีที่แล้ว

    Thank you for your great explanation! 💥

  • @VishalSharma-k7b
    @VishalSharma-k7b ปีที่แล้ว

    Clean and clear. Thank you very much!

  • @abbasabdulsalambamidele8760
    @abbasabdulsalambamidele8760 4 หลายเดือนก่อน

    Very well explained. Thanks

  • @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!

  • @renyirish
    @renyirish 11 หลายเดือนก่อน

    Excellent explanation, thanks a lot 🤗

  • @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?

  • @rehamalbulushi520
    @rehamalbulushi520 2 ปีที่แล้ว

    thank you for such a quick useful explanation

  • @aakarshanraj1176
    @aakarshanraj1176 5 หลายเดือนก่อน

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

  • @BlueDolphinBlues
    @BlueDolphinBlues 7 หลายเดือนก่อน

    Hi Trevor Sullivan

  • @chriskaye1997
    @chriskaye1997 2 ปีที่แล้ว +1

    Truly a great beard, so wow! much wisdom!

  • @stevendaddario8803
    @stevendaddario8803 3 ปีที่แล้ว

    Wonderful Video! Thank you for the clear explanation!

  • @Acumen928
    @Acumen928 3 ปีที่แล้ว +5

    Just what I needed.

  • @i3looi2
    @i3looi2 5 หลายเดือนก่อน

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

  • @tylercode2207
    @tylercode2207 ปีที่แล้ว

    That was really helpful...Thank You!!

  • @Joop5037
    @Joop5037 ปีที่แล้ว

    Very good explanation.

  • @amanuelyohannes7151
    @amanuelyohannes7151 5 หลายเดือนก่อน

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

  • @ranjeetbadhe
    @ranjeetbadhe 2 ปีที่แล้ว

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

  • @darrenklein6090
    @darrenklein6090 2 ปีที่แล้ว +1

    Thanks, that was very helpful.

  • @canyoldas2855
    @canyoldas2855 ปีที่แล้ว

    Very informative. Thank you.

  • @Banjer
    @Banjer ปีที่แล้ว

    Excellent explanation!!!

  • @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?

  • @aparnasaha9729
    @aparnasaha9729 8 หลายเดือนก่อน

    excellent explanation

  • @adamdymurski9342
    @adamdymurski9342 ปีที่แล้ว

    Good for start. Thanks 😊

  • @frogman3107
    @frogman3107 ปีที่แล้ว

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

  • @shantanu143
    @shantanu143 2 ปีที่แล้ว

    awesome. simple and explained with diagrams !

  • @shadymilkman10
    @shadymilkman10 2 ปีที่แล้ว

    That was a great breakdown thanks!!!

  • @androidsavior
    @androidsavior 2 ปีที่แล้ว

    where is the next video ? i cant find it

  • @BassZeke
    @BassZeke 3 ปีที่แล้ว +1

    Fantastic! concise. clear

  • @martinkarkovich3037
    @martinkarkovich3037 3 ปีที่แล้ว +1

    excellent explanation!

  • @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.

  • @indrranil24
    @indrranil24 2 ปีที่แล้ว +1

    awesome loved it!!!!

  • @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

  • @rasnacv3802
    @rasnacv3802 3 ปีที่แล้ว

    Thank you for this content. very helpful

  • @mikkeljensen1603
    @mikkeljensen1603 ปีที่แล้ว

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

  • @briarsmith8241
    @briarsmith8241 ปีที่แล้ว

    Cache hit on the explanation

  • @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.

  • @workpfeiffer3428
    @workpfeiffer3428 2 ปีที่แล้ว

    good explanation. thakns a bunch

  • @UmairKhan-xz2df
    @UmairKhan-xz2df 2 ปีที่แล้ว

    Hi, can you please do a video on Ncache?

    • @cbtnuggets
      @cbtnuggets  2 ปีที่แล้ว

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

  • @rahimeinollahi1
    @rahimeinollahi1 3 ปีที่แล้ว

    thanks for creating this video,

  • @Ibrahim-oc5ql
    @Ibrahim-oc5ql 3 หลายเดือนก่อน

    very informative. thanks gistalot

  • @williamfriedeman7078
    @williamfriedeman7078 3 ปีที่แล้ว

    Wonderful tutorial, thank you.

  • @francoisbourdages2906
    @francoisbourdages2906 2 ปีที่แล้ว

    thanks, very well explained and clear

  • @diet92
    @diet92 ปีที่แล้ว

    Well understood 😎. Thanks

  • @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.

  • @globalclutter9508
    @globalclutter9508 3 ปีที่แล้ว +2

    Very informative.

  • @edwardfraser688
    @edwardfraser688 3 ปีที่แล้ว +1

    Great explanation thanks.

  • @quirkyquester
    @quirkyquester 3 ปีที่แล้ว

    Great video!

  • @juejuepaing6985
    @juejuepaing6985 2 ปีที่แล้ว +1

    Thank you

  • @niponchanda8356
    @niponchanda8356 3 ปีที่แล้ว

    Greatly explained

  • @md.musharaf.m
    @md.musharaf.m 2 ปีที่แล้ว

    Thankyou

  • @ns4k_tv
    @ns4k_tv ปีที่แล้ว

    Thanks! Helped me alott!!

  • @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 ?

  • @DebbieGOfficial
    @DebbieGOfficial ปีที่แล้ว

    Well explained

  • @whatthefunction9140
    @whatthefunction9140 3 ปีที่แล้ว

    I used to hit the cache pretty hard in college.

  • @xtianseyer018
    @xtianseyer018 2 ปีที่แล้ว

    Thank you for this

  • @leedy8135
    @leedy8135 ปีที่แล้ว

    why always introduce ? is it impotant?

  • @dmitrykim3096
    @dmitrykim3096 ปีที่แล้ว

    I mean I guess this cache is only good if the data is quite small or we always request thr same data

  • @thiagocnunes
    @thiagocnunes 3 ปีที่แล้ว

    Amazing content, tkss

  • @ELKADUSUNhalifesi
    @ELKADUSUNhalifesi ปีที่แล้ว

    Trade off made from correctness of retrieved value hence it is a cache…