Real-Time Coding Duel Blueprint

Customer: AI | Published: 05.02.2026
Бюджет: 250 $

I’m planning an interactive, data-structures-and-algorithms-focused coding duel platform and I need a crystal-clear design and architecture proposal before any code is written. The end product must feel like a learning arena first and a competition second, so every technical choice has to support quick feedback, fairness and easy-to-follow analytics for students. Core experience to address The platform will present the same DSA question to two users simultaneously, lock them into a fixed countdown and stream their code through a real-time execution engine so they can see results (compile errors, test-case pass/fail, runtime, memory) without refreshing. While live chat or leaderboards may appear later, this first proposal must concentrate on that real-time duel loop and the backend scalability it demands. What I expect from you • A concise yet thorough architecture document (diagrams, component breakdown, data flow, tech stack rationale). • A sequence diagram of the duel session, covering question delivery, timer sync, code submission, sandboxed execution, result broadcast and final scoring. • Recommendations for languages, frameworks, containers, queueing and sandboxing tools that keep latency low and security tight. • A brief plan for unit, integration and load testing—especially around the execution sandbox. • Thoughts on how future add-ons (chat, leaderboard) would plug into your design without rewrites. Send a detailed proposal outlining these points, highlight any similar platforms you’ve designed, and feel free to suggest creative solutions that stay true to the educational goal.