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.
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.
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.
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.
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
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
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".
Best, no BS intro to Redis. Period. Thank you.
Appreciate the great content man. No one on UA-cam 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!
Nice video, wanted a primer on redis actually, so thank you.
Great videos man! I just subbed, keep up the pubs.. har har..
Brilliant. Exactly what I needed to see!
are you the best? I think you're the best!
If you are on windows 10 you can use the wsl and build the sources, pretty simple.
Thanks man. You remind me of Tanto in 13 hours the secret soldiers of Benghazi.
wow.. can't wait to start scaling with redis!
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.
Would love to see a video on hll or streams.
what's the limit for the published message in term of size?
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?
Will you be doing advanced or intermediate in depth node js videos?
Thank you!
This is great! Can you do a video on Firebase?
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.
can we get a list of keys by matching patterns in values and not keys?
Great video!! As always.
Your caption on your phone doesn’t work UA-cam
`pubsub channels` will give you a list of your active channels for those looking
quick.. thanks a ton!
Why did he disable comments on his craiglist scam video?
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
godly
dude, why do you have knife in your hand, it's scary
Hi.
I can to create a role?
Redis with Apollo Server please
you forgot select database
If only UDP was enabled by default and k was able to get all values with a some command :c
give queue a chance
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.