Wednesday, March 24, 2021

Re: Django application is slow

Dear Programmers, 
my Django application is big and slow any leads on how to make it fast responsive. 

In my experience, if the Django application is slow, it's often related to the database either queries, or the database engine is scaled correctly.
(Of course, that's assuming the computer Django is running on is scaled correctly)

To my knowledge Django Debug Toolbar has *NOT* been updated, and I started to run into compatibility issues with it.  I have had very limited success with SILK, but I don't think I would recommend it….

What are your queries….?

Wait a sec.  DDT HAS been updated?  It claims to support 3.1.1 now?

Install DDT, and take a look at the Time specifically.  See what queries are taking the longest, and try to optimize those specifically.

Also, you do have Indexes on every field that you filter by, right?

- Benjamin



No comments:

Post a Comment