← Back to the timeline

2025 / REAL-TIME SYSTEM

CoreWire.

What happens when multiple people edit the same state at once?

A collaborative code workspace built for low-latency technical interviews, where every keystroke is shared state.

STATUS & SCOPE

Personal project · real-time collaboration

TECHNOLOGIES

Node.js · Express · WebSockets · MongoDB · React

THE USEFUL OUTCOME

What this makes possible.

A shared code workspace for technical interviews, so participants can follow edits directly.

THE ENGINEERING SIGNAL

What the work demonstrates.

Resolved an update feedback loop by distinguishing local edits from remote changes.

01

Why I Built It

A technical interview exposed the friction of coding in a text editor while screen-sharing. I wanted a shared workspace where an interviewer could follow the code directly.

02

The Problem

Testing the editor with a friend revealed flickering, even when we were not typing simultaneously. Shared updates were feeding back into the same event flow.

03

The Interesting Failure

A remote update was treated as a new local edit and broadcast again. That created a feedback loop: the same change kept travelling between clients.

04

The Decision

I distinguished local edits from remotely applied changes so received updates would not be broadcast again. I also tied authenticated user IDs to socket sessions to address session spoofing.

05

What Changed

The flickering disappeared in my testing after separating local and remote state changes. This made the update flow easier to reason about.

06

What I'D Fix Next

Validate the workspace with real users and measure its behaviour under concurrent load. The project has not yet demonstrated production scale.

HAVE A RELATED CHALLENGE?

Let’s talk about your project.

NEXT PROJECTC-Flux →