A faster Django response with Redis cache

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 42

  • @laithal-zoubi1547
    @laithal-zoubi1547 Рік тому +7

    Simple, clear and concise. Keep it up.

  • @EdduGmes
    @EdduGmes Рік тому +3

    Straight to the point and very solid knowledge! Thanks for the content!

  • @anonymeister123
    @anonymeister123 Рік тому +3

    Thank you kind sir 🙏🙏 not many focus on the Redis part

  • @yoosafofficial
    @yoosafofficial Рік тому

    django road the best django tutorials on youtube

  • @EkeomaEAGU-wq2kb
    @EkeomaEAGU-wq2kb 5 місяців тому

    Hi, thanks for this concise and clear guide... it really helped me improve the performance of my app.

  • @LifeOf97
    @LifeOf97 Рік тому

    A very concise yet informative explanation. Thank you very much.

  • @nwabuezefranklin7676
    @nwabuezefranklin7676 Рік тому

    If clarity was a person. subscribed ✌

  • @aminu_waziri
    @aminu_waziri 5 місяців тому

    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❣️

  • @Dima-qz4su
    @Dima-qz4su Рік тому +1

    thank you, you have explained exactly what I needed

  • @hahalin8211
    @hahalin8211 6 місяців тому

    Thank you, this video is very great.

  • @MuhammadUsman-yi8bl
    @MuhammadUsman-yi8bl 10 місяців тому

    You nailed it. Keep it up 👍.

  • @sergebyusajabo2138
    @sergebyusajabo2138 Рік тому

    Good job in explaining this. Thank you.

  • @MrJgracias
    @MrJgracias Рік тому

    You are the best, thank you!

  • @welzyalzy
    @welzyalzy 4 місяці тому

    That was awesome

  • @d0gl0gic80
    @d0gl0gic80 Рік тому

    This is extremely useful thank you

  • @srourganoush5941
    @srourganoush5941 4 місяці тому

    This is a treasure 🤑

  • @gamesojen
    @gamesojen Рік тому

    Awesome! Thank you so much!

  • @TokeloMokoaledi
    @TokeloMokoaledi Рік тому

    Awesome video!!

  • @eduardolz12
    @eduardolz12 Рік тому

    Well explained, thanks

  • @hopesain5065
    @hopesain5065 11 місяців тому

    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

  • @MHanyFz
    @MHanyFz 9 місяців тому

    Awesome🤩

  • @nagercoilgamer9484
    @nagercoilgamer9484 Рік тому

    thanks...great explanation

  • @EdgarTriias
    @EdgarTriias Рік тому

    Does it work when calls to the DB points to Functions? I am using PostgreSQL

  • @anilshrestha1272
    @anilshrestha1272 Рік тому

    Quality content thank you.

  • @KrishnaDasPC
    @KrishnaDasPC Рік тому

    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.

  • @packagebattos
    @packagebattos Рік тому

    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?

    • @verainsardana
      @verainsardana Рік тому +1

      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

    • @pharaoh9483
      @pharaoh9483 4 місяці тому

      For the second question, you should have something like
      if DEBUG:
      # Add Django Debug Toolbar settings for development environment
      INSTALLED_APPS += ['debug_toolbar']

  • @DigisDen
    @DigisDen Рік тому

    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.

    • @packagebattos
      @packagebattos Рік тому +2

      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.

  • @GunalanDeivaganpathy
    @GunalanDeivaganpathy Рік тому

    nice one

  • @jairajsahgal7101
    @jairajsahgal7101 10 місяців тому

    Thank you

  • @cameleonarabic8124
    @cameleonarabic8124 Рік тому

    thanks

  • @kyle-m9t3d
    @kyle-m9t3d Рік тому

    can i use that feature in class base view?

  • @ndthien
    @ndthien Рік тому

    You should use f-strings instead of .format()

    • @djangoroad
      @djangoroad  Рік тому +1

      yeah I still use old style, should upgrade!

  • @howtophotoshop1340
    @howtophotoshop1340 7 місяців тому

    dude, man up

  • @chirofive
    @chirofive 7 місяців тому

    is this a girl or a boy ?

  • @aashayamballi
    @aashayamballi Рік тому

    Thank you

  • @gini-x4996
    @gini-x4996 Рік тому

    thankyou