What is Redis Cache?

Sdílet
Vložit
  • čas přidán 5. 07. 2024
  • In this first video in a three-part series, we'll explore what caching is, how it works, and how Redis can help! Stay tuned for future videos on how to implement a cache from a programmer's perspective and how to create a distributed, fault-tolerant, and persistent Redis cache!
    Links:
    Redis → www.redis.com/
    Redis Caching Overview → bit.ly/37WnW1R
    Need a Redis cluster now? Sign up for a free Redis Cloud Essentials account → bit.ly/2wasiCa
    Join our discord server → / discord
  • Věda a technologie

Komentáře • 29

  • @Teen-Conor
    @Teen-Conor Před měsícem +5

    This video explains Redis better than the stupid AWS course from my college.

  • @samsmith8015
    @samsmith8015 Před 2 lety +24

    Brilliant! Finally someone explained cache as a db instead of playing around with terms like layer or server or embedded crap. Thank you

  • @ttt1986
    @ttt1986 Před rokem +3

    THIS was just what I've been looking for.... ❤

  • @alibarznji2000
    @alibarznji2000 Před 2 lety

    I love this channel so much

  • @janettebraverman4712
    @janettebraverman4712 Před rokem +3

    Great job!! Loved this explanation of caching.

    • @Redisinc
      @Redisinc  Před rokem

      Thank you so much! - Justin

  • @rovinvarshney
    @rovinvarshney Před rokem +1

    Great explanation 👍

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

    Why dislike this awesome video...

  • @rui-9-cs315
    @rui-9-cs315 Před 2 lety +1

    this is awesome

  • @pratik8787
    @pratik8787 Před rokem +1

    Thanks for the video. That explains caching quiet well within short period.
    I have a question (might sound lame as I am not pro with caching)
    If without caching a transaction takes 75 ms, after introducing caching and for the first hit of any request when it is a cache miss and call is send to back-end, will there be exponential increase in the turn around time? will that add X ms for a cache miss ?

    • @Redisinc
      @Redisinc  Před rokem +2

      Hi Pratik, there shouldn't be an exponential increase in time when dealing with a cache miss scenario. There may be a very small overhead due to checking the cache then going to the primary database, but it would be negligible. You can test this by creating three separate calls: one directly to the primary database, one checking the cache (creating a cache miss and write back to cache), and another check to the cache (which creates a cache hit). Time the response times for each call get an idea of the differences. And let us know what you find! - Justin

    • @pratik8787
      @pratik8787 Před rokem

      @Redis Thanks Justin, shall give it a shot and let you know the result.

  • @ygr4943
    @ygr4943 Před 14 dny

    شكرا ❤❤

  • @abhishekghosh5550
    @abhishekghosh5550 Před rokem

    Hi Justin! Can't find what this exactly means in the o/p of redis-cli info. master5:name=NAME,status=ok,address=IPADDR:PORT,slaves=2,sentinels=3 . Why multiple masters and slaves only 2? Can you please direct me to a doc on this? Thanks.

  • @kasirbarati3336
    @kasirbarati3336 Před 2 měsíci

    where is the link to that redis caching strategies?
    Just a suggestion: Add a link in the description to those video that you've talked about them in this video 😄

    • @Redisinc
      @Redisinc  Před 2 měsíci +1

      Hello! In the description of this video we have a link to more info on Redis Caching. You can also browse through our channel's video list for other videos on caching. We can't add all of the links to future videos in this video's description field.
      Redis Caching Overview → bit.ly/37WnW1R

  • @user-gizmo
    @user-gizmo Před rokem

    When we say caching response is less than a millisecond, is it really true ? Because there is still network latency calling Redis, which will be external to the application, and that is in the order of 20-30 ms in AWS say.

  • @christellelemaire9749
    @christellelemaire9749 Před rokem +1

    Bonsoir Christelle

  • @zzco
    @zzco Před rokem

    How about we not use pre-roll ads that are half-as-long as the video itself, thanks?

    • @Redisinc
      @Redisinc  Před rokem +1

      I don't think we have control of the ads, but if we could, we'd make them fast, rest assured. - J

    • @zzco
      @zzco Před rokem

      @@Redisinc I think it's that you allow longer videos to be used as ads. That's my main complaint.
      I have no problem with some of your other ads (e.g. "JWTs are unsafe"- those are short and sweet).
      Keep up the good work otherwise! 👌🏻💪🏻

  • @lunar-ix9vu
    @lunar-ix9vu Před rokem +1

    Thanks, but the desk props are puzzling: two stacked keyboards and a plant ~ really, who comes up with this?

    • @Redisinc
      @Redisinc  Před rokem +2

      This is an office in my house. You have to stack keyboards somewhere, and you can't have a software explainer video without succulents about. It's a rule. - Justin.

  • @ameenabdulsalam6876
    @ameenabdulsalam6876 Před rokem +4

    Cache is like a wallet and DB is a bag.

  • @gofudgeyourselves9024
    @gofudgeyourselves9024 Před 2 lety

    Caching is for babies