You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/admin/networking/index.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -84,21 +84,21 @@ Coder measures and reports several types of latency, providing insights into the
84
84
There are three main types of latency metrics for your Coder deployment:
85
85
86
86
- Dashboard-to-server latency:
87
-
88
-
The Coder UI measures round-trip time to the Coder server usingthe browser's Performance API.
89
-
87
+
88
+
The Coder UI measures round-trip time to the Coder serveror workspace proxyusingbuilt-in browser timing capabilities.
89
+
90
90
This appears in the user interface next to your username, showing how responsive the dashboard is.
91
91
92
92
- Workspace connection latency:
93
-
94
-
When users connect to workspaces, Coder measures and displays the latency between the user and:
95
-
- Workspace (direct P2P connection when possible)
96
-
- DERP relay servers (when P2P isn't possible)
97
93
98
-
This latency is visible in workspace cards and resource pages. It shows the round-trip time in milliseconds.
94
+
The latency shown on the workspace dashboard measures the round-trip time between the workspace agent and its DERP relay server.
95
+
96
+
This metric is displayed in milliseconds on the workspace dashboard and specifically shows the agent-to-relay latency, not direct P2P connections.
97
+
98
+
Total end-to-end latency experienced by a user would be a combination of dashboard-to-server latency plus this agent-to-relay latency.
99
99
100
100
- Database latency:
101
-
101
+
102
102
For administrators, Coder monitors and reports database query performance in the health dashboard.
103
103
104
104
###How latency is classified
@@ -127,9 +127,9 @@ Latency measurements are color-coded in the dashboard:
127
127
128
128
To improve latency and user experience:
129
129
130
-
-**Deploy workspace proxies**: Place[proxies](./workspace-proxies.md) in regions closer to users.
130
+
-**Deploy workspace proxies**: Place[proxies](./workspace-proxies.md) in regions closer to users, connecting back to your single Coder server deployment.
131
131
-**Use P2P connections**: Ensure network configurations permit direct connections.
132
-
-**Regional deployments**:PlaceCoderservers inregions where most users work.
132
+
-**Strategic placement**:Deploy your singleCoderserver ina region where most users work.
133
133
-**Network configuration**: Optimize routing between users and workspaces.
134
134
-**Check firewall rules**: Ensure they don't block necessary Coder connections.