Redis Basics: Strings, Hashes, Lists, Pub/Sub
HTML-код
- Опубликовано: 15 сен 2024
- Redis is super powerful. Have a look and see the power for yourself.
Hope you enjoyed the video!
Check out this code here:
github.com/eng...
Join my Discord server to chat with me:
/ discord
Check out some code on my GitHub:
github.com/ebr...
Tweet me something funny on Twitter:
/ _engineerman
Say hi over at Facebook:
/ engineermanyt
Sincerely,
Engineer Man
Best, no BS intro to Redis. Period. Thank you.
Thing about pub/sub is that it's in real time with no storage of the messages. This means that if a message is published and there are no subscribers it's like shouting into a void with no chance of retrieval. You'd need to create a mechanism by which you store published messages so new subscribers can catch up or see a history. That's pretty easy in Redis. Just use a list and push each message on as you publish it.
Redis is great for caching any kind of data, especially rendered templates and data from API calls, especially if your API has a rate limit and the data doesn't change very often. With automatic expiry of keys Redis makes using a cache a cinch. Saves time and money.
All valid.
Thanks, Ross. I was wondering how to satisfy "later joiners".
Appreciate the great content man. No one on RUclips provides the details you do
You're welcome. Thanks for visiting :)
You are best teacher I would say !!! In 15 mins you have covered lot of things which would help any newbie to understand what Radis is.. Appreciate your work and effort for making this.
Finally, I found something helpful
Thank
Great informative video. Thank you! Please provide more content on Redis.
Great video! Quick and comprehensive. Thank you!
Great videos man! I just subbed, keep up the pubs.. har har..
Nice video, wanted a primer on redis actually, so thank you.
Brilliant. Exactly what I needed to see!
are you the best? I think you're the best!
wow.. can't wait to start scaling with redis!
Thanks man. You remind me of Tanto in 13 hours the secret soldiers of Benghazi.
Thank you!
If you are on windows 10 you can use the wsl and build the sources, pretty simple.
I don't understand the advantages of a DB in memory. If I'm using python can't I do all of this with dictionaries and list methods? Is it because multiple processes can have access to it at the same time? Thanks!
You hit on one reason to use Redis: sharing data between processes. The other reason is persistence. Using a Python list or dictionary is available only as long as the process is running.
godly
quick.. thanks a ton!
Great video!! As always.
Would love to see a video on hll or streams.
what's the limit for the published message in term of size?
This is great! Can you do a video on Firebase?
Will you be doing advanced or intermediate in depth node js videos?
Which redis service would you use to store user web tokens on a web service? I have looked at AWS solutions but I dont know if they are suitable for the job.
pub sub set
I have doubt engineer man , could i learn redis without having understanding of any other database?
can we get a list of keys by matching patterns in values and not keys?
How does redis as a message broker compare to, say, RabbitMQ when creating your messaging service architecture? What made you choose one over the other?
stackoverflow has a decent write-up about this question:
stackoverflow.com/questions/25133260/redis-as-a-message-broker
Redis is single-threaded and runs out of RAM since the use case is for extremely fast low-latency key value processing. RabbitMQ can utilize more than one thread, but, depending on use case and work flow, usually takes longer to process the same request.
I watched your video about the craigslist scammer. I would have replied there but the comments are locked. That trick were you pasted a list into a hard coded array was awesome... Can you teach me how to do this in C#, c++ or Java
he has a video on regexes. IIRC he used a regex to do that
`pubsub channels` will give you a list of your active channels for those looking
Why did he disable comments on his craiglist scam video?
Your caption on your phone doesn’t work RUclips
dude, why do you have knife in your hand, it's scary
If only UDP was enabled by default and k was able to get all values with a some command :c
Redis with Apollo Server please
Hi.
I can to create a role?
give queue a chance
you forgot select database
Why are you not using tmux?
For what?
Woah..i didn't think you would reply..first of all..great fan of your videos :)
Answer for the question: to open multiple shells in a terminal window and easily manage it compared to tiling
Second
First.