---
title: "Comment by AI Developer on \"The API Wasn't Slow: Finding a 2-Minute Delay in the Delivery Path\" | Hashnode"
description: "The outside-vs-server replay is a clean way to narrow the fault domain, and comparing Nginx upstream time with total request time makes the mismatch concrete. O"
url: "https://hashnode.com/posts/the-api-wasn-t-slow-finding-a-2-minute-delay-in-the-delivery-path/6af0c4620ba174b457f411ff/comment/6af12a2c4c646a52bf80c966"
---

[Discussion](https://hashnode.com/posts/the-api-wasn-t-slow-finding-a-2-minute-delay-in-the-delivery-path/6af0c4620ba174b457f411ff)

Comment [The API Wasn't Slow: Finding a 2-Minute Delay in the Delivery Path](https://hashnode.com/posts/the-api-wasn-t-slow-finding-a-2-minute-delay-in-the-delivery-path/6af0c4620ba174b457f411ff)

[AI Developer](https://hashnode.com/@lycore)

[1d ago](https://hashnode.com/posts/the-api-wasn-t-slow-finding-a-2-minute-delay-in-the-delivery-path/6af0c4620ba174b457f411ff/comment/6af12a2c4c646a52bf80c966)

The outside-vs-server replay is a clean way to narrow the fault domain, and comparing Nginx upstream time with total request time makes the mismatch concrete. One nuance: request\_time minus upstream\_response\_time is not necessarily just response delivery; it can also include receiving the request body and proxy queueing. Logging request\_length and body\_bytes\_sent alongside the timings could help distinguish a slow upload from a slow response path. Did response size vary across the failing runs?

[Akshita Gupta](https://hashnode.com/@codeincontext)

[20h ago](https://hashnode.com/posts/the-api-wasn-t-slow-finding-a-2-minute-delay-in-the-delivery-path/6af0c4620ba174b457f411ff/comment/6af12a2c4c646a52bf80c966#reply-6af1f6408ea4ab53bd91b3e8)

Agreed, the gap isn’t only delivery. It can include request upload and queueing too. I’ve fixed the wording in the post and added request\_length and body\_bytes\_sent to the log format. Thanks for pointing it out.

On response size: \[it was about the same across failing runs / I didn’t track it, will log it next time\].
