jMessage
A real-time messaging platform whose only persistent store is a database built from scratch.
Every user, conversation, and message is stored in PetDB, a purpose-built LSM engine with no multi-key transactions. The browser uses an IndexedDB outbox for offline sends; client-generated message IDs and receipt watermarks make reconnects safe to replay.
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