Saurabh Yadav

Full-Stack & Systems Developer

Project Detail

NebulaRealtime

Production-grade real-time multiplayer backend with horizontally scalable WebSocket servers, Redis coordination, matchmaking, and authoritative simulation. Load-tested to ~96K req/s across instances.

Shipped 2026

Node.js + TypeScript

backend

Technical Summary

StackNode.js + TypeScript
Platformserver, distributed
RoleBackend / Systems Engineer
TechnologiesNode.js, TypeScript, Fastify, WebSocket, Redis, PostgreSQL, BullMQ, Docker, Prometheus
ContextPersonal Project
Team Size1

Key Responsibilities

  • Designed and implemented full WebSocket scaling architecture
  • Built matchmaking, presence, and leaderboard systems
  • Integrated PostgreSQL persistence with BullMQ workers
  • Load-tested and hardened for production deployment

Project Insights

Built and scaled a real-time multiplayer infrastructure with WebSocket horizontal scaling, server-authoritative simulation, and comprehensive observability

Technical Concepts

  • Horizontally scalable WebSocket architecture with Redis Pub/Sub coordination
  • Server-authoritative game simulation preventing client-side cheating
  • Distributed matchmaking with presence tracking across instances
  • Production observability with Prometheus metrics and structured logging

Architecture & Features

  • ~48K req/s single instance, ~96K req/s multi-instance proven capacity
  • ~1.29ms average WebSocket RTT, ~1.98ms handshake latency
  • 5K concurrent connection load profile with stable performance
  • Distributed locks for race condition prevention

Key Learnings

  • Real-time systems require careful state synchronization and conflict resolution
  • Load testing early reveals scalability bottlenecks before production
  • Observability is not optional for distributed systems

Project Links

No external links available.