Skip to content

Commit

Permalink
Update SDK resiliency description.
Browse files Browse the repository at this point in the history
Update SDK resiliency description.
  • Loading branch information
Siva M authored Jul 1, 2024
2 parents 7a03f82 + 2f29076 commit 642c0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/vendor/replicated-sdk-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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`.

0 comments on commit 642c0be

Please sign in to comment.