Order Platform

Order Platform An architecture diagram generated by Archify. Shopper · Browser / App · Architecture component Shopper Browser / App Identity · OIDC · Architecture component · JWT + PKCE Identity OIDC JWT + PKCE Edge · CDN · Primary region Edge CDN API Gateway · HTTPS :443 · Primary region › sg-orders :443/:8080 API Gateway HTTPS :443 Orders · service :8080 · Primary region › sg-orders :443/:8080 Orders service :8080 Sessions · Redis :6379 · Primary region Sessions Redis :6379 Ledger · PostgreSQL :5432 · Primary region Ledger PostgreSQL :5432 Catalog · object store · Primary region · signed URLs Catalog object store signed URLs Event bus · order.placed · Primary region Event bus order.placed Fulfilment · consumer · Primary region Fulfilment consumer HTTPS verify token media read-through SQL publish Primary region sg-orders :443/:8080 Legend Backend Database Cloud Security Message bus External

Edge

  • • A CDN fronts every request
  • • Media served from the object store by signed URL

Application

  • • Orders sits behind the gateway
  • • Sessions read through Redis
  • • Fulfilment drains the event bus

Security

  • • OIDC with JWT + PKCE
  • • Gateway and Orders isolated in one security group