NestJS Real-Time
CommunityMaster WebSocket and SSE scaling.
Authorngxtm
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the complexities of implementing and scaling real-time communication features in NestJS applications, specifically focusing on WebSockets and Server-Sent Events (SSE).
Core Features & Use Cases
- Strategy Selection: Guides the choice between WebSockets and SSE based on application needs (e.g., chat vs. notifications).
- Implementation Patterns: Provides examples for Socket.io and Fastify/WS, including authentication and broadcasting.
- Scaling Solutions: Details critical scaling strategies like using Redis Adapters for WebSockets and considerations for SSE connection limits.
- Use Case: Implementing a real-time chat feature in a NestJS application, ensuring it can handle a large number of concurrent users by correctly configuring Socket.io with a Redis adapter.
Quick Start
Configure NestJS to use Socket.io with a Redis adapter for scaling WebSocket connections.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: NestJS Real-Time Download link: https://github.com/ngxtm/skill-rule/archive/main.zip#nestjs-real-time Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.