Django development

Slow API Response Times

Pain pointTrend: NewConfidence: LowFirst seen 7/29/2026 · last seen 7/29/2026

Opportunity score

34

Mentions

5

Communities

1

Growth since last check

new

What's happening

Multiple posts highlight issues with slow response times for Django REST Framework APIs, particularly in production environments. Users report significant delays even for simple queries, leading to frustration and performance concerns.

Why this score: The severity is high due to the impact on user experience and potential business loss, but buying intent is low as users are seeking solutions rather than hiring help.

Who's affected

Django developersAPI developersProduct managers

What people try to do

  • Profiling API response times
  • Optimizing database queries
  • Using caching mechanisms

Why current solutions fail

  • Inefficient database queries
  • Lack of caching
  • High server load

What to build

  • Create a performance monitoring tool for Django APIs
  • Develop a caching layer for frequently accessed data
  • Optimize database queries and provide best practices
  • Build a guide for profiling Django applications

Evidence

DRF list api response so slow and cause CPU throttling

<p>An API in my project works fine locally but when it is called in production, it slows the application's response time (all other APIs) and the container workload gets throttled for about 10 seconds.</p> <p>here is my model.py:</p> <pre><code>class Event(BaseModel): user = models.ForeignKey(Us

stackexchange · sajad · 11/20/2024

Open original →

How can I diagnose slow response times from Google App Engine and Django to serve a web app?

<p>I've deployed a Django based portfolio website - <a href="http://johnmcgurk.no" rel="nofollow noreferrer">http://johnmcgurk.no</a> - on App Engine and I am struggling to diagnose why one app has such a poor response time. When running google PageSpeed Insights the &quot;core&quot; app on the root

stackexchange · John · 4/9/2024

Open original →

Slow response from Django Rest Framework with annotated queryset

<p>I am using Django Rest Framework and simply trying to filter out objects which have more than 0 related items but as soon as I add in a filter to my annotation that includes a datetime, the response time goes from milliseconds to 90 seconds or so.</p> <p>Here is the code that takes ages:-</p> <pr

stackexchange · bodger · 2/23/2024

Open original →

Django rest framework slow response time

<p>I am working on a project. I am using <strong>Django rest framework</strong>.</p> <p>I have a category model. And there is only 2 rows. And the api response time is 180 ms avarage.</p> <p>it is <strong>too slow</strong> for only 2 rows. And api is <strong>very simple</strong>. Why it is too slow

stackexchange · Noa · 3/29/2023

Open original →

Django Rest Framework very slow on Azure

<p>I had migrated from Heroku to Microsft Azure, and the speed is really very slow, my App service is having the following specs OS (linux):</p> <pre><code>P1V2 210 total ACU 3.5 GB memory Dv2-Series compute equivalent </code></pre> <p>then when it comes to my <strong>Azure Database for PostgreSQL f

stackexchange · Lutaaya Huzaifah Idris · 12/12/2022

Open original →

Track signals like this one

Run your own research, save signals you care about, and see how they change over time.