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: asciidoc/volume2/concurrent-connections/tf2-ch-a-mdpws-concurrent-connections.adoc
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,16 +119,18 @@ A <<vol1_spec_sdpi_p_actor_somds_provider>> experiencing excessive load:
119
119
* may respond with HTTP status code `429` (Too Many Requests, <<ref_rfc_6585,RFC 6585, section 4>>), and
120
120
* may include a `Retry-After` header (<<ref_rfc_7231,RFC 7231, section 7.3.1>>) to indicate when the consumer may retry the request.
121
121
122
-
Consumers should interpret this response as a signal to adapt their connection strategy. For example, a consumer may:
122
+
Consumers can interpret this response as a signal to adapt their connection strategy. For example, a consumer may:
123
123
124
124
* reduce the number of concurrent connections,
125
125
* use a single connection for all operations,
126
126
* implement backoff and retry logic.
127
127
128
-
A <<vol1_spec_sdpi_p_actor_somds_consumer>> receiving a `429` response should not interpret this as a operation failure, but rather as an indication that the provider is under load and needs the consumer to adjust its behaviour.
129
-
The consumer may use information in the `Retry-After` header, if present, to determine when to retry the request, but could also consider implementing an exponential backoff strategy to avoid overwhelming the provider with retries.
128
+
A <<vol1_spec_sdpi_p_actor_somds_consumer>> receiving a `429` response need not interpret this as a
129
+
permanent operation failure, but rather as an indication that the provider is under load and needs
130
+
the consumer to adjust its behaviour.
131
+
The consumer can use information in the `Retry-After` header, if present, to determine when to retry the request, but could also consider implementing an exponential backoff strategy to avoid overwhelming the provider with retries.
130
132
131
-
When a <<vol1_spec_sdpi_p_actor_somds_provider>> includes the `Retry-After` header (<<ref_rfc_7231,RFC 7231, section 7.3.1>>) in a `429 (Too Many Requests)` response, it should provide the retry period in seconds. RFC 7231 allows for an
133
+
A <<vol1_spec_sdpi_p_actor_somds_provider>> that includes the `Retry-After` header (<<ref_rfc_7231,RFC 7231, section 7.3.1>>) in a `429 (Too Many Requests)` response, expresses the retry period in seconds. RFC 7231 allows for an
132
134
HTTP-date format in the `Retry-After` header, but this is not recommended for SDC to avoid the complexity of parsing
133
135
HTTP-date values and potential clock synchronization issues between devices.
134
136
@@ -154,6 +156,6 @@ HTTP-date values and potential clock synchronization issues between devices.
154
156
155
157
===== Related Requirements
156
158
157
-
* RefRequirement:r1001[]: Single connection to consumer for sending reports
159
+
* RefRequirement:R1001[]: Single connection to consumer for sending reports
0 commit comments