A faster Django response with Redis cache

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 43

  • @laithal-zoubi1547
    @laithal-zoubi1547 Год назад +9

    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

  • @LifeOf97
    @LifeOf97 Год назад

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

  • @EkeomaEAGU-wq2kb
    @EkeomaEAGU-wq2kb 6 месяцев назад

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

  • @Dima-qz4su
    @Dima-qz4su Год назад +1

    thank you, you have explained exactly what I needed

  • @TheBluetelligence
    @TheBluetelligence 17 дней назад

    Very good, thanks 🙏🏻

  • @nwabuezefranklin7676
    @nwabuezefranklin7676 Год назад

    If clarity was a person. subscribed ✌

  • @hahalin8211
    @hahalin8211 7 месяцев назад

    Thank you, this video is very great.

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

  • @MuhammadUsman-yi8bl
    @MuhammadUsman-yi8bl 11 месяцев назад

    You nailed it. Keep it up 👍.

  • @sergebyusajabo2138
    @sergebyusajabo2138 Год назад

    Good job in explaining this. Thank you.

  • @MrJgracias
    @MrJgracias Год назад

    You are the best, thank you!

  • @hopesain5065
    @hopesain5065 Год назад

    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

  • @d0gl0gic80
    @d0gl0gic80 Год назад

    This is extremely useful thank you

  • @welzyalzy
    @welzyalzy 5 месяцев назад

    That was awesome

  • @gamesojen
    @gamesojen Год назад

    Awesome! Thank you so much!

  • @TokeloMokoaledi
    @TokeloMokoaledi Год назад

    Awesome video!!

  • @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.

  • @srourganoush5941
    @srourganoush5941 5 месяцев назад

    This is a treasure 🤑

  • @eduardolz12
    @eduardolz12 Год назад

    Well explained, thanks

  • @MHanyFz
    @MHanyFz 10 месяцев назад

    Awesome🤩

  • @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.

  • @nagercoilgamer9484
    @nagercoilgamer9484 Год назад

    thanks...great explanation

  • @anilshrestha1272
    @anilshrestha1272 Год назад

    Quality content thank you.

  • @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 5 месяцев назад

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

  • @EdgarTriias
    @EdgarTriias Год назад

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

  • @aashayamballi
    @aashayamballi Год назад

    Thank you

  • @GunalanDeivaganpathy
    @GunalanDeivaganpathy Год назад

    nice one

  • @gini-x4996
    @gini-x4996 Год назад

    thankyou

  • @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!

  • @chirofive
    @chirofive 7 месяцев назад

    is this a girl or a boy ?

  • @howtophotoshop1340
    @howtophotoshop1340 8 месяцев назад

    dude, man up

  • @jairajsahgal7101
    @jairajsahgal7101 11 месяцев назад

    Thank you

  • @cameleonarabic8124
    @cameleonarabic8124 Год назад

    thanks