What is Redis Cache?

Поділитися
Вставка
  • Опубліковано 1 сер 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
  • Наука та технологія

КОМЕНТАРІ • 30

  • @Teen-Conor
    @Teen-Conor 2 місяці тому +7

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

  • @samsmith8015
    @samsmith8015 2 роки тому +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 Рік тому +3

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

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

    I love this channel so much

  • @janettebraverman4712
    @janettebraverman4712 Рік тому +3

    Great job!! Loved this explanation of caching.

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

      Thank you so much! - Justin

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

    Great explanation 👍

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

    Why dislike this awesome video...

  • @atlaschooty
    @atlaschooty 2 дні тому

    Best explanation

  • @rui-9-cs315
    @rui-9-cs315 3 роки тому +1

    this is awesome

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

    شكرا ❤❤

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

    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.

  • @pratik8787
    @pratik8787 Рік тому +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  Рік тому +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 Рік тому

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

  • @kasirbarati3336
    @kasirbarati3336 3 місяці тому

    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  3 місяці тому +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 Рік тому

    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.

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

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

    • @Redisinc
      @Redisinc  Рік тому +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 Рік тому

      @@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! 👌🏻💪🏻

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

    Bonsoir Christelle

  • @lunar-ix9vu
    @lunar-ix9vu Рік тому +1

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

    • @Redisinc
      @Redisinc  Рік тому +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 Рік тому +4

    Cache is like a wallet and DB is a bag.

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

    Caching is for babies