推文
@Chaolzzy · 2026-10-17 10:45
【极客教程:用 cURL 诊断 API 的真实网络耗时】 接口慢,不知道是 DNS、TCP 握手还是后端计算慢?在终端运行: curl -w "\nDNS: %{time_namelookup}s\nTCP: %{time_connect}s\nTTFB: %{time_starttransfer}s\nTotal: %{time_total}s\n" -o /dev/null -s "https://api.github.com" 📊 每一项耗时精确到毫秒,排查网络瓶颈利器。 💬 你平时排查线上延迟一般用什么工具? #Networking #Backend #Performance #Troubleshooting
曝光 2 · 评论 0 · 点赞 0 · 书签 0