From fd15381594998457915ed3e53ec857379628b0df Mon Sep 17 00:00:00 2001 From: Siva M Date: Fri, 28 Jun 2024 12:13:11 -0500 Subject: [PATCH 1/2] Update SDK resiliency description. --- docs/vendor/replicated-sdk-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/vendor/replicated-sdk-overview.md b/docs/vendor/replicated-sdk-overview.md index 789933e1e0..6916d57719 100644 --- a/docs/vendor/replicated-sdk-overview.md +++ b/docs/vendor/replicated-sdk-overview.md @@ -30,4 +30,4 @@ At startup and when serving requests, the SDK retrieves and caches the latest in If the upstream APIs are not available at startup, the SDK does not accept connections or serve requests until it is able to communicate with the upstream APIs. If communication fails, the SDK retries every 10 seconds and the SDK pod is at `0/1` ready. -When serving requests, if the upstream APIs become unavailable, the SDK serves from the memory cache and sets the `X-Replicated-Served-From-Cache` header to `true`. +When serving requests, if the upstream APIs become unavailable, the SDK serves from the memory cache and sets the `X-Replicated-Served-From-Cache` header to `true`. Additionally, rapid sucessive requests to same endpoint with the same payload and query parameters will be rate-limited returning the same payload and status code without reaching out to the upstream APIs. From 2f29076a7f6a910ebd90607ef06e41049e8ba97a Mon Sep 17 00:00:00 2001 From: Siva M Date: Fri, 28 Jun 2024 12:27:05 -0500 Subject: [PATCH 2/2] Update replicated-sdk-overview.md --- docs/vendor/replicated-sdk-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/vendor/replicated-sdk-overview.md b/docs/vendor/replicated-sdk-overview.md index 6916d57719..0a4352600c 100644 --- a/docs/vendor/replicated-sdk-overview.md +++ b/docs/vendor/replicated-sdk-overview.md @@ -30,4 +30,4 @@ At startup and when serving requests, the SDK retrieves and caches the latest in If the upstream APIs are not available at startup, the SDK does not accept connections or serve requests until it is able to communicate with the upstream APIs. If communication fails, the SDK retries every 10 seconds and the SDK pod is at `0/1` ready. -When serving requests, if the upstream APIs become unavailable, the SDK serves from the memory cache and sets the `X-Replicated-Served-From-Cache` header to `true`. Additionally, rapid sucessive requests to same endpoint with the same payload and query parameters will be rate-limited returning the same payload and status code without reaching out to the upstream APIs. +When serving requests, if the upstream APIs become unavailable, the SDK serves from the memory cache and sets the `X-Replicated-Served-From-Cache` header to `true`. Additionally, rapid sucessive requests to same SDK endpoint with the same request properties will be rate-limited returning the last cached payload and status code without reaching out to the upstream APIs. A `X-Replicated-Rate-Limited` header will set to `true`.