Skip to content
Piyush
Case study 03Collaboration · Real-time

Driftboard

Real-time collaborative whiteboard

An infinite canvas for remote teams to brainstorm together — with live cursors, sticky notes and zero lag.

Role
Full-stack engineering
Timeline
36 hours, then 6 weeks
Team
Team of three
Year
2025

(01) Overview

Driftboard started as a 36-hour hackathon project and grew into a real product: a multiplayer whiteboard where every stroke, note and cursor syncs instantly.

(02) The challenge

Real-time collaboration gets hard fast — conflicting edits, flaky connections, and boards with thousands of objects that still need to render at 60fps.

(03) Approach

  1. Step 01

    Conflict-free syncing

    CRDT-inspired operations mean concurrent edits merge predictably, even when two people move the same note at once.

  2. Step 02

    Presence at scale

    Redis pub/sub fans cursor positions out across server instances, with throttling and interpolation to keep motion smooth.

  3. Step 03

    A strict rendering budget

    Viewport culling and batched canvas draws keep large boards fluid on modest laptops.

(04) Highlights

  • Live cursors and presence indicators
  • Offline edits that sync on reconnect
  • Export boards to PNG and PDF
  • First place at a 36-hour hackathon

(05) Results

With 5,000+ objects on a board
60fps
Median sync latency
<50ms
Place out of 80 teams
1st

(06) What I learned

“Latency is a design problem as much as an engineering one. Small touches — optimistic updates, interpolated cursors — made the app feel faster than any server change.”

(07) Built with

  • React
  • Node.js
  • Socket.IO
  • Redis
  • MongoDB
  • Canvas API

Next project

Tensorscope

Neural network training visualiser