← All projects

jMessage

A real-time messaging platform whose only persistent store is a database built from scratch.

No PostgreSQL, no Redis—every user, conversation, and message lives in PetDB, a purpose-built LSM engine with no multi-key transactions. Crash-ordered writes and a client-generated UUID dedup index reach 50k+ durable message appends/sec with strong delivery semantics, while an offline-first IndexedDB outbox and receipt watermarks keep everything in sync.

Highlights

  • 50k+ durable message appends/sec on a transaction-less storage engine
  • Crash-ordered writes turn PetDB's constraints into correctness guarantees
  • Offline-first IndexedDB outbox with idempotent, exactly-once delivery
  • Single-binary deployment: Go server embeds the built React frontend
  • Verified end-to-end by killing the server mid-traffic and confirming zero lost messages

Technology

Go, React, TypeScript, WebSockets, PetDB

Source code