BACK TO PORTFOLIORS.
PROJECTS/Distributed SystemsFEATURED
Open-Source Backend Concurrency & State Sync

Checkora — Real-Time Chess Platform

Production open-source contribution to Checkora, hardening real-time game state synchronization, concurrency controls, and database transaction safety across active chess matches.

PR #2653 Merged
360+ Passing Tests
Zero State Desync
Checkora — Real-Time Chess Platform

Architecture & System Implementation

Contributed core backend infrastructure improvements to Checkora, an open-source online chess platform. Focused on resolving race conditions during concurrent moves and clock deductions by implementing strict database transaction controls and optimistic locking. Synchronized real-time WebSocket session events with persistent PostgreSQL state to eliminate ghost states during promotion checks, draw offers, and timeout evaluations. Navigated multi-maintainer code reviews and expanded regression test coverage to keep all 360+ backend test suites passing cleanly in continuous integration.

Core Features & Capabilities

  • Real-time state synchronization ensuring active browser sessions and database records remain in lockstep
  • Database transaction controls and optimistic locking preventing race conditions under high move velocity
  • Accurate clock deduction, draw offer propagation, and pawn promotion check state machine integrity
  • Security audit remediation and dependency hardening across core game endpoints
  • Comprehensive test suites maintaining 100% pass rates across all 360+ backend integration and unit tests

Engineering Contributions & Optimizations

  • Authored Pull Request #2653 successfully merged into Checkora upstream main repository
  • Engineered concurrency controls and optimistic locking strategies to eliminate race conditions
  • Standardized error handling and unified HTTP/WebSocket response formats across core game endpoints
  • Collaborated directly with core project maintainers through rigorous architectural code reviews

Technologies & Libraries

PythonDjangoWebSocketsPostgreSQLOptimistic LockingpytestCI/CD
REST API Endpoint
200 OK

This project is programmatically queryable via our public JSON API:

curl -s https://rajatsurana.vercel.app/api/projects/checkora
View Raw JSON Response ↗

© 2026 Rajat Surana · Software Engineer Intern Candidate