{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"}],"enrichment":{"capability":"Provides Redis-backed channel layers for Django Channels, enabling asynchronous message dispatch and group communication in ASGI applications through either traditional channel handling or Redis Pub/Sub.","skillfed_tags":["django-asgi","websocket-messaging","distributed-systems"],"use_cases":["Scale WebSocket connections across multiple Django application servers using a shared Redis channel layer.","Implement real-time group messaging (e.g., chat rooms, notifications) where consumers need to broadcast to many connected clients.","Build high-availability ASGI deployments with Redis Sentinel for automatic failover and connection resilience.","Add optional message encryption for sensitive real-time data transmitted through the channel layer.","Configure per-channel capacity and message expiry to manage backpressure and memory usage in peaky traffic scenarios."],"what_it_does":"channels_redis bridges Django Channels (an ASGI framework for async communication) with Redis, providing a persistent, distributed channel layer for real-time applications. It offers two implementations: RedisChannelLayer, which handles channels and groups directly, and RedisPubSubChannelLayer, which uses Redis Pub/Sub for message dispatch (currently in Beta). Both support single-server and sharded configurations, allowing you to scale WebSocket, HTTP streaming, and other real-time features across multiple application servers.\n\nThe package integrates into Django's CHANNEL_LAYERS setting and handles message routing, group membership, and capacity management. It supports SSL/TLS connections, Redis Sentinel for high availability, UNIX domain sockets, optional symmetric encryption, and configurable message expiry and per-channel capacity limits. The package is tested against Python 3.9 through 3.13 and maintains compatibility with current and legacy redis-py versions.","worth_installing":"Yes. channels_redis is actively maintained, has no known vulnerabilities, and is the standard Redis integration for Django Channels. Install it if you're building real-time features in Django and need to distribute channels across multiple servers\u2014it's low-friction and well-tested. Use RedisPubSubChannelLayer only if you understand its Beta status and can tolerate potential breaking changes."},"id":"channels-redis","links":{"html":"https://skillfed.io/packages/channels-redis","md":"https://skillfed.io/packages/channels-redis.md","pypi":"https://pypi.org/project/channels-redis/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-07-22","license_spdx":null,"license_treatment":"permissive","name":"channels-redis","python_support":"supports_current","summary":"Redis-backed ASGI channel layer implementation"},"popularity":{"monthly_downloads":4922010,"position":2198,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.3.0"}
