Top 5 Redis Use Cases

  Рет қаралды 165,219

ByteByteGo

ByteByteGo

Күн бұрын

Learn something new every week by subscribing to our newsletter: bit.ly/3tfAlYD
Why is Redis fast?
• System Design: Why is ...
Checkout our bestselling System Design Interview books:
Volume 1: amzn.to/3Ou7gkd
Volume 2: amzn.to/3HqGozy
ABOUT US:
Covering topics and trends in large-scale system design, from the authors of the best-selling System Design Interview series.

Пікірлер: 82
@RottenMuLoT
@RottenMuLoT 11 ай бұрын
I think this video missed to talk about the very important fact that Redis has a limited memory space and depending of its configuration, when full, it will erase data. For example, when using as a Session "storage", the default configuration would make it so that in conjunction with TTL, the older/inactive sessions will be destroyed to make place for the new ones, effectively acting like a FIFO. So you have to carefully calculate the average size of your session's data and divide the available Redis space by it to obtain the theorical number of possible concurrent sessions and plan accordingly.
@infinite_s902
@infinite_s902 3 күн бұрын
100%
@joepasqua1751
@joepasqua1751 Жыл бұрын
Another very nice overview video - thank you. And thank you for mentioning the "thundering herd" effect at 1:45. Over the years I've been surprised by how often this issue arises in systems built by people who should know better. And of course this is not just related to Redis.
@Alex-bc3xe
@Alex-bc3xe Жыл бұрын
You actually found the best recipe for making videos great with you explanations combined.
@MarcoLenzo
@MarcoLenzo Жыл бұрын
I really enjoyed this overview. Didn't know about the rate limiter use case. Now I'm eager to try it out.
@deefdragon
@deefdragon Жыл бұрын
I use redis allong with the consistent hashing that was discussed in an earlier video to create a work division system for my persistent jobs.
@sethamballa9428
@sethamballa9428 Жыл бұрын
You are one of the best teachers on youtube for this kind of stuff. The animations are also super helpful to understand the content. I think that if you enunciate your words a bit more, itd take your video quality to another level
@Tolmachovtv
@Tolmachovtv 4 ай бұрын
Thank you for such short, clear and easy to understand video
@thiagolopessilva
@thiagolopessilva Жыл бұрын
You’re the best. Thanks to share this amazing content with us.
@SaifAli96
@SaifAli96 Жыл бұрын
Amazing work! Don't give up, you'll come through happier and stronger soon. Enjoy your time with the family. Looking forward to March 10th! That's when the course comes out right?
@Ruslan-UA
@Ruslan-UA Жыл бұрын
A quick and understandable explanation, as always. Thanks.
@IsaTimur
@IsaTimur Жыл бұрын
Thx! As always the best explanation and samples!
@binhvothanh1324
@binhvothanh1324 11 ай бұрын
This is a very useful video! Thank you for making this
@victornoagbodji
@victornoagbodji Жыл бұрын
Great overview! Thank you 😊🙏
@YakovL
@YakovL Жыл бұрын
awesome video and format, thanks!
@SoreBrain
@SoreBrain Жыл бұрын
A video about trpc would be super cool as it's a mix of rest and rpc
@Pythonnaire
@Pythonnaire Жыл бұрын
Let's dive in
@narmadasahoo2986
@narmadasahoo2986 8 ай бұрын
thank you so much, such a great video.
@nid274
@nid274 Жыл бұрын
wow! this was informational, thanks!
@houssemchr1539
@houssemchr1539 Жыл бұрын
Nice explanation thanks, I wonder how make the video and which tools do use
@uokesita
@uokesita Жыл бұрын
@ByteByteGo thank you for the video. I have a small complaint. Making the graphs bigger over time, makes me dizzy to the point I can't read them (I have to pause the video to read them), maybe this is just me. Everything else is great, love your explanations.
@WomboBraker
@WomboBraker Жыл бұрын
you are golden, thank you so much
@bogumilpiotrowski
@bogumilpiotrowski Жыл бұрын
Love the explanation ❤️🔍💣
@matinlh644
@matinlh644 Жыл бұрын
Great content, share more content about redis and configuration in laravel ❤️
@sudharsansathiamoorthy1075
@sudharsansathiamoorthy1075 Жыл бұрын
Excellent presentation Bro 👍
@heyiamsra5207
@heyiamsra5207 Жыл бұрын
Enjoyed this!
@SoreBrain
@SoreBrain Жыл бұрын
Great deeper dives
@naltun4702
@naltun4702 Жыл бұрын
These videos are awesome. Subscribers++
@dereknguyen5556
@dereknguyen5556 Жыл бұрын
Thanks for this video
@lattakia3812
@lattakia3812 Жыл бұрын
I use Redis as a replacement for Elasticsearch. However it's full text search capability has a limitation/quirk.
@markzuckerbread1865
@markzuckerbread1865 Жыл бұрын
A coworker of mine uses it to compliment Elasticsearch, in cases where certain shards get more hits than others, have not tried it myself but it sounds sensible for dealing with usage spikes.
@Ayush_kumar123
@Ayush_kumar123 Жыл бұрын
Very Helpful.
@hamzadlm6625
@hamzadlm6625 Жыл бұрын
GREAT WORK
@jntaca
@jntaca Жыл бұрын
You are the number 1 !! Please open a Telegram channel replicating the newsletter.
@jntaca
@jntaca Жыл бұрын
BTW I use Redis for session storage, cache, rate limiting and....as a message broker thanks to pub/sub
@robkami9193
@robkami9193 8 ай бұрын
I’d like to purchase the annual pass 59.99$. Thanks for your great works
@DavidOkwii
@DavidOkwii Жыл бұрын
Thanks, Sahn for yet again a great video. Out of curiosity though, I am wondering what tools and techniques you use to create these smooth animations for your videos. I have a KZbin channel of my own and I would like to incorporate these as well. Thanks.
@dejangegic
@dejangegic 9 ай бұрын
he's never sharing his tools
@Md_sadiq_Md
@Md_sadiq_Md Жыл бұрын
Pushing the algorithm ❤️
@fmictsang8874
@fmictsang8874 10 ай бұрын
In the rate limiter use case, would the rejected request retries certain times until the queue is available or would the server simply return rejected response?
@MegaRockboyz
@MegaRockboyz Жыл бұрын
Please make videos on AWS Services. Event Driven Architectures, Monolith Architectures, Lambda Functions, EC2 instances, S3, IAM Service.
@vikasgupta1828
@vikasgupta1828 11 ай бұрын
Thanks
@grovertec
@grovertec 7 ай бұрын
Hello, excellent video, a question about what tool you use to create these types of very dynamic presentations. Thank you
@santosh_bhat
@santosh_bhat 5 ай бұрын
Hi mate, did you figure out which tool is being used here
@grovertec
@grovertec 5 ай бұрын
@@santosh_bhat Hi, I'm still searching.
@RaveendraGuntupalli
@RaveendraGuntupalli 10 ай бұрын
Very Nice 😀
@brucewayne2480
@brucewayne2480 Жыл бұрын
I've used it for phone number validation and for a call center app to store the priorities of agents
@pjf7044
@pjf7044 Жыл бұрын
How
@brucewayne2480
@brucewayne2480 Жыл бұрын
@@pjf7044 I've used sorted liste , each agent has a score depending on how much he waited and his performance after each call you update his score, and whenever you have a request for that call you pick the agent in the top of the list
@geekybruce4819
@geekybruce4819 Жыл бұрын
What are the best use cases of redis time series ?
@JeremyChone
@JeremyChone Жыл бұрын
Why not Redis Stream for Queue?
@oscardoan7385
@oscardoan7385 Жыл бұрын
I love the way to draw flowcharts, which tool is he using?
@giovannymassuia1
@giovannymassuia1 Жыл бұрын
+1
@javeedshaik236
@javeedshaik236 Жыл бұрын
Yah, interested to know
@hellomukit
@hellomukit Жыл бұрын
+1
@manengsinclair8293
@manengsinclair8293 Жыл бұрын
@BytebyteGo also interested to know
@clef6167
@clef6167 8 ай бұрын
1. Caching 2. Session data 3. Replication 4. Distribution lock 5. Ray limiter 6. gaming leaderboard
@bykalim
@bykalim Жыл бұрын
very nice overview video, thank you
@FinlayDaG33k
@FinlayDaG33k 10 ай бұрын
Redis is always really nice to use but I miss one feature and that is multi-tenancy. It's always kind of a pain (and kind of a waste imo) that I have to use and maintain 1 redis instance per app (or multiple when using replication) instead of setting up 1 cluster, giving each app their own space (with no access to the spaces of other apps) and calling it a day.
@dejangegic
@dejangegic 9 ай бұрын
I think that can be coded in pretty easily. You can use ":" to separate tenants. Just make the first part of the key tenant specific in your backend
@user-fq4pc7fm2z
@user-fq4pc7fm2z Жыл бұрын
why you didn`t mentioned pub/sub case?
@joeb6705
@joeb6705 Жыл бұрын
"distributes lock" is misspelled log in the chapter names
@massimotin
@massimotin 8 ай бұрын
Probably my bad, but why (minute 2:15 and later) you speak about stateless, if you are storing and managing the session id ? It should be stateful ? Thanks (if I am wrong please tell me).
@massimotin
@massimotin 8 ай бұрын
Ah ok probably the server are stateless, but using Redis to make them statefull ;-)
@t4pusd
@t4pusd Жыл бұрын
At timestamp 1:54 is it "stateless" or "statefull" web service?
@gcasar
@gcasar Жыл бұрын
stateless. redis is used to hold the state, enabling applications to hold zero state themselves directly
@t4pusd
@t4pusd Жыл бұрын
@@gcasar Thanks. That totally makes sense now that u explained. But technically the server + redis as a whole is providing statefull web service. Am i right?
@gcasar
@gcasar Жыл бұрын
yes. the upshot is that you can scale your state and processing separately and reason about processing in a much more straightforward manner
@siarheikaravai
@siarheikaravai Жыл бұрын
Why are we talking about sessions for a stateless server? Stateful servers might use sessions
@O0marO
@O0marO Жыл бұрын
BBC is using Redis as event bus interestingly enough.
@johnvick8861
@johnvick8861 Жыл бұрын
i have difficulty in connecction only
@emreener
@emreener 14 сағат бұрын
Its time to update this video as how to migrate to Valkey, Garnet or KeyDB as Redis no longer open source
@danielschmider5069
@danielschmider5069 Жыл бұрын
How much slower is it to use redis, rather than literally storing the variable in the language itself?
@manju4ever222
@manju4ever222 Жыл бұрын
What if you want multiple systems to access the same result (which might have expensive query running behind) ?
@jonathangamble
@jonathangamble Жыл бұрын
RedisGraph can replace your whole database
@jamieg1802
@jamieg1802 Жыл бұрын
i am starving to death as my job forces me to work for no pay
@jamieg1802
@jamieg1802 Жыл бұрын
and they keep illegally hacking into my pc, they are nosey and commit felonies. Need to be in prison for life
@TheYeti
@TheYeti 10 ай бұрын
@@jamieg1802 update
@manengsinclair8293
@manengsinclair8293 Жыл бұрын
hello @ByteByteGo , great flowcharts, please which tool are using for that?
@hammedolatunji5499
@hammedolatunji5499 8 ай бұрын
@ByteByteGo thanks for this tutorial please what is the of the you use in making this video
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 330 М.
Top 5 Most-Used Deployment Strategies
10:00
ByteByteGo
Рет қаралды 242 М.
Balloon Stepping Challenge: Barry Policeman Vs  Herobrine and His Friends
00:28
20 System Design Concepts Explained in 10 Minutes
11:41
NeetCode
Рет қаралды 879 М.
Algorithms You Should Know Before System Design Interviews
6:55
ByteByteGo
Рет қаралды 197 М.
Harder Than It Seems? 5 Minute Timer in C++
20:10
The Cherno
Рет қаралды 132 М.
System Design: Why is Kafka fast?
5:02
ByteByteGo
Рет қаралды 1 МЛН
What Makes A Great Developer
27:12
ThePrimeTime
Рет қаралды 133 М.