Decision#d1
Catalogue / atlassian-2022-tenant-context-sidecar
Atlassian's Tenant Context Service sidecars cache tenant metadata beside client applications and route around failed regions, at up to 32 billion requests a day
Atlassian, 2022. Tenant Context Service (TCS) and its client sidecar.
Records
Decision#d2
Accumulate cache invalidation messages for up to one second and publish one merged event
Decision#d3
Replace the SNS and SQS invalidation fanout with a bespoke fanout through S3
Decision#d4
Use the presence of known keys in the sidecar cache as a node health check to catch traffic blackholes
Decision#d5
Have sidecars announce their cached keys to each other in place of a distributed second-level cache
Decision#d6
Decrypt encrypted records inside the sidecar at fetch time and cache the decrypted form
Decision#d7
Offer gRPC between host services and the local sidecar, which became the preferred client over REST
Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.