websockets-sse

Community

FastAPI real-time patterns: WebSocket vs SSE

Authorkid-sid
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Coordinate real-time client updates across distributed FastAPI services.

Core Features & Use Cases

  • WebSocket and SSE patterns for real-time communication in FastAPI.
  • Redis-backed broadcast to scale across multiple workers.
  • Guidance on authentication, heartbeats, and reliability for long-lived connections.

Quick Start

Set up a FastAPI app with a WebSocket and an SSE endpoint, enable Redis-based broadcast for multi-worker environments, and implement a heartbeat to keep connections alive.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: websockets-sse
Download link: https://github.com/kid-sid/claude-spellbook/archive/main.zip#websockets-sse

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.