All Projects
StakeClash — Real-time competitive gaming and decentralized wagering ecosystem

client

StakeClash

Real-time competitive gaming and decentralized wagering ecosystem

1K+ MAU
$12K MRR
99 Lighthouse
200+ concurrent

The Problem

Lack of fair, low-latency infrastructure for skill-based gaming and micro-transactions — existing solutions suffered from session affinity problems under horizontal load and had no validated anti-cheat layer.

The Solution

Designed a stateless real-time sync layer using Redis pub/sub as the message broker between geographically distributed Node.js instances, chosen over a monolithic Socket.io setup to enable horizontal scaling without session stickiness. Implemented API-gateway-level anti-cheat validation to intercept and invalidate tampered payloads before they reach game state.

My Role

Lead Full-Stack & System Design Engineer

Timeline

4 months

Product

StakeClash screenshot 1
StakeClash screenshot 2
StakeClash screenshot 3
StakeClash screenshot 4
StakeClash screenshot 5
StakeClash screenshot 6

Architecture

Frontend

Next.js & React Native

Backend

Node.js (Express) & Redis

Realtime

Socket.io

Infrastructure

AWS EC2 & Load Balancers

Tech Stack

Next.jsReact NativeNode.jsRedisWebSockets

Impact

01

Reduced p99 socket latency from 180ms to 72ms by replacing a centralized Socket.io topology with a Redis pub/sub mesh across geographically distributed Node.js instances — eliminating cross-region relay hops.

02

Implemented stateless anti-cheat validation at the API gateway layer using HMAC-signed game-state snapshots, blocking payload tampering before it reaches the match engine — with zero false positives in 3 months of production.

Features

Live Multiplayer Matches
Wallet Integration
Real-time Leaderboards

Explore