01 · Secure messaging · Real-time · Privacy
Inkly
Lead Systems Architect & Full-Stack Developer
- WebSockets
- PostgreSQL
- MongoDB
- Redis
- Cryptography
- Clients ↔ WebSocket cluster
- Redis coordination / rooms
- PostgreSQL durable state
- MongoDB event / log store
Problem
Centralized messaging models struggle to combine zero-knowledge privacy with horizontal real-time scale.
What was built
A high-availability secure messaging architecture with cryptographic lifecycle controls and three-tier storage (PostgreSQL, MongoDB, Redis).
Decision that mattered
Separated hot path delivery from durable truth: Redis for coordination, PostgreSQL for relational integrity, MongoDB for flexible event/log shapes.
Tradeoff
Accepted storage complexity to keep privacy boundaries and delivery resilience independent under partition.
Outcome
Production-oriented architecture for low-latency real-time delivery patterns with resilient storage separation.
Architecture documented in case study; public repo not available.
