Menu

1 / 3

Why your .NET AI request is slow: a segment-by-segment teardown

DEV Community: dotnet·karlmoriaty·7 days ago
#Nc32aA4a
#devtodotnet#devto#dev#first#runesvaner
Long article (639 words) — no AI summary yet.
Reading 0:00
15s threshold

A support assistant answers in eight seconds. The HTTP span says 200 OK . The database span is fast. The LLM span is "slow". None of that tells you whether the time went into DNS, TLS, uploading the prompt, provider queueing, the first token, or streaming the answer.

General APM was designed for request/response services. LLM calls have a different shape:

A long-lived streaming response, where time-to-first-token matters more than total duration.

A cost dimension that general APM does not model.

Provider-side queueing that looks like "network" unless you separate it.

Retries that can silently double the bill.

Runesvaner is an in-process profiler for .NET AI workloads.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.