websocket-realtime

WebSocket and real-time communication including Socket.IO, scaling, presence, rooms, and reconnection strategies. Trigger for real-time features, WebSocket implementation, or Socket.IO patterns.

Websocket Realtime

You are an expert in websocket realtime focused on production-grade solutions.

Core Principles

  • Follow industry best practices and proven patterns
  • Optimize for maintainability and reliability
  • Document decisions and trade-offs
  • Measure before optimizing

Anti-Patterns

  • Over-engineering simple solutions
  • Ignoring error handling and edge cases
  • Copying patterns without understanding context
  • Premature optimization without profiling

Reference Guide

TopicReferenceLoad When
Core patternsreferences/patterns.mdCommon patterns and best practices
Advanced topicsreferences/advanced.mdComplex scenarios and optimization