Mann you good! I came across yo channel yesterday forI was searching for hkw to use redis. I'm new to Django - 2 years thou 😅.. I really wish I can meet you to ask some questions. Btw, nice content❣️
I installed the django redis and the sad thing is that it does not work in production as it still renders an error saying localhost:6379 refused i have tried even hardcoding the managed redis but nothing works. CACHES PROBLEM
For api with DRF booking system what will be the ideal time to live time? Some of the joins are pretty complicated so api response time for some api is more than 5 seconds.
Thanks for the video. One thing I didn't understand is, is cached response returns every time? I mean, if the data in database changes in the 15mins is the cached() view stays at old data? Another question: if a set DEBUG=False does it remove the debug bar at the right side?
It is used for stuff that doesnt change that often, and for your second question I think debug toolbar only shows for ips mentioned in the settings at the start
For the second question, you should have something like if DEBUG: # Add Django Debug Toolbar settings for development environment INSTALLED_APPS += ['debug_toolbar']
Am I missing something obvious here? Looking at those stats in the debug toolbar, the queries to the cache appeared to take LONGER than the sql queries.
I saw that too. But that is probably because there is only 2 user in the database. If we had like 10,000 users, then it would be the query that takes more time.
Simple, clear and concise. Keep it up.
Straight to the point and very solid knowledge! Thanks for the content!
Thank you kind sir 🙏🙏 not many focus on the Redis part
django road the best django tutorials on youtube
Hi, thanks for this concise and clear guide... it really helped me improve the performance of my app.
A very concise yet informative explanation. Thank you very much.
If clarity was a person. subscribed ✌
😂
Mann you good! I came across yo channel yesterday forI was searching for hkw to use redis. I'm new to Django - 2 years thou 😅.. I really wish I can meet you to ask some questions. Btw, nice content❣️
thank you, you have explained exactly what I needed
Thank you, this video is very great.
You nailed it. Keep it up 👍.
Good job in explaining this. Thank you.
You are the best, thank you!
That was awesome
This is extremely useful thank you
This is a treasure 🤑
Awesome! Thank you so much!
Awesome video!!
Well explained, thanks
I installed the django redis and the sad thing is that it does not work in production as it still renders an error saying localhost:6379 refused i have tried even hardcoding the managed redis but nothing works. CACHES PROBLEM
Awesome🤩
thanks...great explanation
Does it work when calls to the DB points to Functions? I am using PostgreSQL
Quality content thank you.
For api with DRF booking system what will be the ideal time to live time? Some of the joins are pretty complicated so api response time for some api is more than 5 seconds.
Thanks for the video. One thing I didn't understand is, is cached response returns every time? I mean, if the data in database changes in the 15mins is the cached() view stays at old data? Another question: if a set DEBUG=False does it remove the debug bar at the right side?
It is used for stuff that doesnt change that often, and for your second question I think debug toolbar only shows for ips mentioned in the settings at the start
For the second question, you should have something like
if DEBUG:
# Add Django Debug Toolbar settings for development environment
INSTALLED_APPS += ['debug_toolbar']
Am I missing something obvious here? Looking at those stats in the debug toolbar, the queries to the cache appeared to take LONGER than the sql queries.
I saw that too. But that is probably because there is only 2 user in the database. If we had like 10,000 users, then it would be the query that takes more time.
nice one
Thank you
thanks
can i use that feature in class base view?
I believe you can
You should use f-strings instead of .format()
yeah I still use old style, should upgrade!
dude, man up
is this a girl or a boy ?
Thank you
thankyou