Architecting for 200K Signups per Minute
Bitcoin India Conference Platform
Challenge
The original stack (Vercel + Supabase) buckled under the load of 200K+ simultaneous signup attempts during the conference announcement. We needed to migrate to a resilient architecture without losing existing user data or changing the frontend experience significantly.
Approach
Designed a hybrid architecture that retained Supabase for verified user persistence and analytics while offloading the high-throughput registration and OTP flow to AWS. Implemented a queue-based processing model with SQS for reliable message delivery, Redis for OTP state management, and Lambda functions for stateless compute.
Architecture
The system uses API Gateway as the entry point, routing to Lambda functions for OTP generation and verification. SQS queues decouple the registration flow from downstream processing. Redis handles OTP state with TTL-based expiry. SES delivers OTP emails. Verified users are persisted to Supabase. CloudWatch and Grafana provide real-time observability. Cloudflare Turnstile provides bot protection at the edge.
Outcomes
- •Handled 200K+ signups per minute during peak announcement periods
- •Achieved linear scalability with predictable per-request costs
- •Zero data loss during migration from original Supabase-only stack
- •Built comprehensive observability with CloudWatch and Grafana dashboards