When a cache-miss for this key + record-type occurs, TCS makes a HTTP GET request to your backing-store, like: GET /entity/<recordType>/<key>
(client calls TCS) → GET https://<baseUrlForRecordType>/<key>
(URI of request to your service)
Note - /
e.g. ari::cloud/abc123
- it is passed on exactly as given by the caller of TCS.
Response codes for read-through endpoints mirror the TCS API.
<key>
, JSON returned in body should be cached.<key>
.Any other response status (e.g. 400) will be treated as an unexpected error, map to a 500 status-code returned to TCS clients. Our 5xx alert thresholds are high (service-descriptor.sd.yml), but may eventually fire.
We expect backing store providers to monitor their TCS endpoints.
At minimum, response headers must include (additional headers are allowed)
TCS will make 3 attempts in total to load a key from your backing-store. The backing-store HTTP Client is configured such that:
Note - slow backing-store responses may be directly observed by consumers on cache miss.
1 2HTTP/1.1 200 OK Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT Content-Type: application/json version: 101 { "some-json": "value" }
Rate this page: