Canvas: Real-Time Collaboration Engine
Personal buildBuilt
screenshot coming soon
- Year
- 2025
- Stack
- TypeScript, React, PostgreSQL, Supabase
- Role
- Developer
The idea
A multi-client whiteboard, and the hard part underneath it: keeping everyone’s view of the board identical while people draw at the same time on imperfect networks.
What I built
- PostgreSQL replication listeners push changes to clients, with state sync under 100 ms.
- Optimistic UI and conflict resolution that hold up under packet loss and network jitter.
- An event broadcast system that manages concurrent sessions with consistent shared state across N clients.
Result
Sub-100 ms state sync between clients.
Code
The repository link goes here once it’s public. Meanwhile, see github.com/rajellaram.