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 - Наука та технологія
This video explains Redis better than the stupid AWS course from my college.
Brilliant! Finally someone explained cache as a db instead of playing around with terms like layer or server or embedded crap. Thank you
Thanks Sam! I always stick to K.I.S.S.! - Justin
+1
THIS was just what I've been looking for.... ❤
I love this channel so much
Great job!! Loved this explanation of caching.
Thank you so much! - Justin
Great explanation 👍
Why dislike this awesome video...
Best explanation
this is awesome
شكرا ❤❤
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.
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 ?
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
@Redis Thanks Justin, shall give it a shot and let you know the result.
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 😄
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
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.
How about we not use pre-roll ads that are half-as-long as the video itself, thanks?
I don't think we have control of the ads, but if we could, we'd make them fast, rest assured. - J
@@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! 👌🏻💪🏻
Bonsoir Christelle
Thanks, but the desk props are puzzling: two stacked keyboards and a plant ~ really, who comes up with this?
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.
Cache is like a wallet and DB is a bag.
bruhhh. Apt.
Couldn't have put it better myself! - Justin
Caching is for babies