Canva replaced database-intensive session revocation with an Amazon S3-based architecture, enabling support for 100 million active sessions. The system stores durable revocation records in S3 and distributes compact, in-memory indexes to application gateways. This shift significantly reduced database infrastructure requirements and deployment complexity.
- S3 serves as durable storage for revocation records, eliminating heavy database lookups.
- Compact in-memory indexes are distributed to gateways for fast local checks.
- Memory footprint for revocation caching dropped by 87.5%.
- Architecture supports 100 million concurrent sessions with lower infra costs.