Region AprimaryRegion BstandbyGlobal edgeClusterDataDataCheckoutCatalogHTTPS1active2replication5jobs3prices3write4Checkout API3Workersv14PricingOrdersprimaryOrdersreplica5Load balanceranycast2CustomerPlace order1
Press Place order to follow one request.
  1. The customer's browser sends the order to the global load balancer.

  2. Region A is active, so the load balancer sends the request there.

  3. The checkout API asks the pricing service for the total, then queues the order for the workers.

  4. A worker writes the order to the primary database.

  5. The write is replicated to region B, which stays ready to take over.