~/talk

Multi-Region, Multi-Primary, and Eventually Consistent? You're Crazy

Talkat KubeDay Singapore 2023 · on Tuesday, 2023-12-12· [databases, distributed-systems]
links:none on file
slides:none on file

Claim: enforce region-local writes on an eventually consistent multi-primary database without app changes by combining policy and routing. Implementation uses open policy agent (Rego + OPA bundle server) with the Envoy OPA plugin to reject writes lacking the required region header, and Istio multicluster virtual services, destination rules and subsets to route post requests to the region primary. Demo runs on KinD with Yugabyte, shows forbidden responses when region or JWT is wrong and successful write + async replication when headers match.

AI-written summary · about

  1. 0:00Multi-region multi-primary APIs
  2. 2:06Financial and auction systems
  3. 7:26Policy and routing requirements
  4. 9:39Demo setup Kubernetes Yugabyte
  5. 13:16Enforcing write location with OPA
  6. 17:42Multi-cluster routing with Istio
  7. 23:45Handling unknown downstream locations
  8. 24:48Proposed solution summary
  9. 26:56Q&A regional failures
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.