Skip to content

Commit 43812e6

Browse files
committed
HTTP API latency
1 parent fa1215f commit 43812e6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/admin/architectures/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,18 @@ When determining scaling requirements, consider the following factors:
216216
- Average number of HTTP requests: Track the average number of HTTP requests to
217217
gauge system usage and identify potential bottlenecks.
218218

219+
**HTTP API latency**
220+
221+
For a reliable Coder deployment dealing with medium to high loads, it's
222+
important that API calls for workspace/template queries and workspace build
223+
operations respond within 300 ms. However, API template insights calls, which
224+
involve browsing workspace agent stats and user activity data, may require more
225+
time.
226+
227+
Also, if the Coder deployment expects traffic from developers spread across the
228+
globe, keep in mind that customer-facing latency might be higher because of the
229+
distance between users and the load balancer.
230+
219231
**Node Autoscaling**
220232

221233
We recommend to disable autoscaling for `coderd` nodes. Autoscaling can cause

0 commit comments

Comments
 (0)