The curl Flag That Tells You Which Part of the Request Was Slow

A slow request is five possible slow things. One curl flag with a write-out template splits the total into DNS, connect, TLS, time to first byte and…

The curl Flag That Tells You Which Part of the Request Was Slow. Abstract tooling illustration in orange and dark grey on debugly.dev
Phase Compute Owned by
DNS time_namelookup Resolver, caches
TCP connect time_connect - time_namelookup Network distance
TLS handshake time_appconnect - time_connect Cert chain, protocol
Server think time_starttransfer - time_appconnect Your application
Transfer time_total - time_starttransfer Payload size, bandwidth

Related reading: The lsof Output That Showed Who Was Holding the Port explores a connected angle.

Related reading: Every Layer That Caches a DNS Answer Between You and the Record explores a connected angle.

Published on debugly.dev by Rohit Bhadani | Founder of Krova Cloud