← All work

Independent project / Active project

From zero-trust principles to a high-concurrency hybrid P2P messenger.

End-to-end encrypted hybrid Peer-to-Peer and client-server messaging platform built for high concurrency and minimal latency.

My role
Lead Systems Architect & Core Developer
Period
2026
Key technologies
Go (Golang) · WebSocket · gRPC · PostgreSQL · Dragonfly · Flutter · Tauri

01 / Context

The problem.

Real-time communication platforms require extreme concurrency, minimal message latency, and cryptographic security guarantees without relying exclusively on centralized relay infrastructure.

02 / My contribution

What I built.

I designed and developed a hybrid architecture combining direct P2P connections with fallback client-server relay. Implemented end-to-end encryption protocols, gRPC/WebSocket streaming handlers, and high-performance in-memory caching using Dragonfly alongside PostgreSQL persistence.

03 / Approach

Engineering decisions.

  1. Adopt Go for backend concurrency

    Lightweight goroutines handle tens of thousands of simultaneous persistent socket connections with negligible memory overhead.

  2. Accelerate with Dragonfly in-memory cache

    Multi-threaded in-memory caching reduced session state lookup latency to sub-millisecond speeds under heavy message floods.

  3. Cross-platform parity with Flutter & Tauri

    Built native cross-platform clients ensuring identical cryptographic and networking behavior across mobile and desktop environments.

  4. Resilient hybrid fallback

    Direct P2P communication is preferred when NAT traversal succeeds, gracefully falling back to encrypted relay without interrupting the user experience.

04 / Outcome & context

What this work shows.

Engineered an operational messaging engine capable of high message throughput with end-to-end encrypted payload delivery and low latency.

Secure systems balance cryptographic integrity, network protocol design, and concurrency primitives.

Operational project / The cover is a concept illustration. This case study focuses on my engineering contribution and system-level architecture.

Keep exploring

Pikas