
I built a real time 1v1 coding battle platform with Spring Boot + AWS (2,000+ users)
Built CodeDuels — a real time competitive programming platform with live 1v1 matches using:
- React + Monaco Editor
- Java 21 + Spring Boot + WebSockets
- AWS ECS Fargate, SQS, Redis, RDS
- Terraform managing 54 AWS resources
Biggest challenge was handling async code execution + real time Codeforces duel tracking without blocking the backend. Solved it using SQS-based microservices and background workers.
Eventually paused the 24/7 AWS deployment because cloud costs got too expensive for a student project, so I migrated everything to on demand Terraform infrastructure.
Demo: https://www.youtube.com/watch?v=nctT-6Y0xJg
GitHub: https://github.com/Abhinav1416/coding-platform
Would love feedback on the architecture and cost optimization ideas.
u/Abhistar14 — 1 day ago