Work / back to index

Synapse

Real-time messaging engineered for throughput

Role

Solo developer

Year

2025

Category

Real-Time

Synapse is a real-time communication platform where the engineering lives in the backend. Socket.io handles stateful connections for live events while REST endpoints manage stateless resources, and Prisma optimises complex joins on MySQL for fast message-history retrieval.

Custom adapters broadcast events across connections, composite indexes keep history queries quick, and stream-processing middleware handles secure media uploads.

Highlights

  • Bidirectional real-time event streams over Socket.io
  • Composite-indexed schema for fast message history
  • Stream-processing middleware for media uploads
  • Role-based access control on the API layer
Next.js 15Socket.ioPrismaMySQLClerkTypeScript