Skip to content

Commit 43b3a2c

Browse files
committed
Remove client-side metrics suggestions
1 parent 7faf05a commit 43b3a2c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.readme-partials.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ custom_content: |
194194
195195
However sometimes you may want to change your connection pool size due to high throughput or buffered requests. Ideally, to leave room for traffic fluctuations, a connection pool has about twice the number of connections it takes for maximum saturation. Because a connection can handle a maximum of 100 concurrent requests, between 10 and 50 outstanding requests per connection is optimal. The limit of 100 concurrent streams per gRPC connection is enforced in Google's middleware layer, and you are not able to reconfigure this number.
196196
197-
The following steps help you calculate the optimal number of connections in your channel pool using client-side metrics.
197+
The following steps help you calculate the optimal number of connections in your channel pool using estimate per-client QPS and average latency numbers.
198198
199-
From your client-side metrics, gather the following information:
199+
To calculate the optimal connections, gather the following information:
200200
201201
1. The maximum number of queries per second (QPS) per client when your application is running a typical workload.
202202
2. The average latency (the response time for a single request) in ms.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,9 @@ The default connection pool size is right for most applications, and in most cas
292292

293293
However sometimes you may want to change your connection pool size due to high throughput or buffered requests. Ideally, to leave room for traffic fluctuations, a connection pool has about twice the number of connections it takes for maximum saturation. Because a connection can handle a maximum of 100 concurrent requests, between 10 and 50 outstanding requests per connection is optimal. The limit of 100 concurrent streams per gRPC connection is enforced in Google's middleware layer, and you are not able to reconfigure this number.
294294

295-
The following steps help you calculate the optimal number of connections in your channel pool using client-side metrics.
295+
The following steps help you calculate the optimal number of connections in your channel pool using estimate per-client QPS and average latency numbers.
296296

297-
From your client-side metrics, gather the following information:
297+
To calculate the optimal connections, gather the following information:
298298

299299
1. The maximum number of queries per second (QPS) per client when your application is running a typical workload.
300300
2. The average latency (the response time for a single request) in ms.

0 commit comments

Comments
 (0)