@@codingwithroby Perhaps although it would likely be possible to also persist the data to a regular database which would add redundancy while also preserving the performance benefits. It is much easier to achieve HA with Redis than it is with Postgres. A distributed multi-cloud, multi-server, multi-region Redis database with persistence is probably not an unsafe approach.
It's good for beginners, but I don't think that's how redis is used in the real world. we can't just say "hey go write this to redis" on every endpoint. there has to be a way to do it automatically, like background tasks.
This one helps me a lot! I was always scared of it. Thanks!
Glad I could help!
These tutorials are TOP NOTCH! Highly-appreciated !
Awesome! I am so glad you enjoy them 🙂
I love it. You just earned a subscriber :)
Yay, thank you!
Awesome! Your videos have been so helpful for me :)
Yay! I am glad you have been able to find value here 🙂
Great tutorial. Could you please add tutorial for redis rq with fastapi. Thanks
Thank you! I will take a look for a future video.
from where I can get the code?
Thanks, Eric. Clean explanation
So glad you enjoyed the content!
but in redis-py aioredis was merged so we can use that one with contextmanger in fastapi
Awesome additional information!
Redis can persist data and can be used as a primary database although that is not the most common use case.
I guess you can, that would be a reallllly bad practice to do.
@@codingwithroby Perhaps although it would likely be possible to also persist the data to a regular database which would add redundancy while also preserving the performance benefits.
It is much easier to achieve HA with
Redis than it is with Postgres. A distributed multi-cloud, multi-server, multi-region Redis database with persistence is probably not an unsafe approach.
Great content! (upgrade that pip please :D) I like the music here.
Noted! I am glad you found value (and enjoyed the music!)
@@codingwithroby Actually I bought your Udemy Course - no, bought two courses
You're the best! Hope you enjoyed them and got value 🙂
why not use lifespan? startup and shutdown have been deprecated.
My new videos use lifespan.
Hello Roby,
greetings from Haiti.
Can't do the same demo with aioredis and httpx?
Hey friend! Yes, you may also use aioredis to get the same results 🙂
Excelent
Thank you ❤️
It's good for beginners, but I don't think that's how redis is used in the real world. we can't just say "hey go write this to redis" on every endpoint. there has to be a way to do it automatically, like background tasks.
Well background tasks is different - yes, they can populate Redis but what I’m showing is how Redis works. How to save and store data.