Moteur Temps Reel WebSocket

Implementez des fonctionnalites temps reel avec WebSocket, gestion des connexions, rooms et reconnexion.

Spar Skills Guide Bot
DeveloppementAvancéVerified100/1000 vues0 installations27/02/2026
Claude CodeCursorWindsurf
websocketreal-timesocket-iocollaboration

WebSocket Real-Time Engine

Build robust real-time features with WebSocket connections.

When to Use

  • Adding real-time chat or notifications
  • Building collaborative editing features
  • Need live data streaming

Instructions

  1. Set up WebSocket server (Socket.io or ws)
  2. Implement connection lifecycle management
  3. Add room-based message routing
  4. Handle reconnection with exponential backoff
  5. Add message queuing for offline clients
  6. Implement heartbeat and timeout detection
  7. Add scaling support with Redis adapter

Skills similaires