LuminaMath Moldova (luminamath.orizont.md) — High-Load Olympiad Platform
National Math Olympiad · Google Cloud Run Serverless · Stateless BYTEA OMR PDF Engine
National Mathematics Competition platform handling candidate registration, deterministic 6-digit ID generation, and instant OMR PDF scorecard streaming on an auto-scaling Google Cloud Run Serverless architecture.
// INTERACTIVE ARCHITECTURE CONSOLE & LIVE METRICS
Zero-Trust DMZ · Strict Rate-Limiting · Automated Audit
Next.js Standalone · TypeScript · Google Cloud Run · PostgreSQL (pg Pool) · BYTEA Binary Storage
Production · 700+ Peak Concurrency · 99.98% Uptime
Result publication triggers instant 700+ concurrent user spikes. Ephemeral container filesystems lose locally stored PDF scorecards on scale-down, while non-atomic ID generation causes collisions under concurrent registrations.
Deployed Next.js Standalone on Google Cloud Run (1,200 concurrent request capacity) with PostgreSQL atomic id_counters upsert and in-database BYTEA binary storage populated via in-memory JSZip bulk admin uploads.
<1 ms O(log N) candidate lookup via B-Tree indexing, zero ID collisions across hundreds of simultaneous registrations, and instant CDN-cached PDF streaming.
Turnkey competition & examination portal for national Olympiads and testing centers requiring collision-free candidate registration and instant OMR scorecard distribution under extreme traffic spikes.
Key Technical Capabilities
- ✓Google Cloud Run Auto-Scaling: Up to 15 instances × 80 concurrency = 1,200 simultaneous connections.
- ✓Atomic 6-Digit Candidate ID ([Branch][Grade][Seq]): Zero race conditions via transactional PostgreSQL upsert.
- ✓Stateless BYTEA PDF Streaming & JSZip Bulk Matcher: Admins upload one ZIP of hundreds of OMR scans; matched in-memory and streamed from PostgreSQL.
- ✓Trilingual UX (RO, RU, EN) with automated Nodemailer registration confirmations.
Production Technology Stack
Want to license or deploy this architecture for your school network or enterprise?
Schedule Architecture Demo