PartyKit is a serverless WebSocket backend platform for building real-time multiplayer applications. It provides a globally distributed edge computing runtime that runs stateful server code close to users, with automatic scaling and hibernation for idle rooms. The platform handles WebSocket connections, HTTP requests, and durable storage without requiring infrastructure management, and includes a client and server SDK with hooks, storage, and Yjs integration for building collaborative features. The platform distinguishes itself through per-room isolation using Durable Objects, where each uniq
websockets is a Python library that provides both client and server implementations for the WebSocket protocol, enabling real-time, bidirectional communication between applications. At its core, it offers the fundamental primitives for establishing persistent connections, managing their lifecycles, and exchanging text or binary messages asynchronously using coroutines. The library distinguishes itself through comprehensive support for various messaging patterns, including broadcast messaging to all connected clients, targeted messaging to specific clients, and shared application state synchro
WebSocket and WAMP in Python for Twisted and asyncio
Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an asynchronous networking framework designed to compose non-blocking I/O operations and layered stream stacks for managing concurrent network traffic, specifically utilizing the Boost.Asio asynchronous model. The library provides a comprehensive implementation of the HTTP/1.1 and WebSocket protocols. For HTTP, it includes primitives for parsing and serializing messages with support for chunked transfer encoding, incremental body reading, and request pipelining. Its WebSocket implementati
Channels is an extension for the Django web framework that adds native support for WebSockets, background tasks, and long-running connections alongside standard HTTP requests. It provides a channel layer abstraction for passing messages between different parts of a Django application across processes, along with a protocol router that inspects incoming connections and dispatches them to the correct handler for HTTP, WebSocket, or custom protocols.
django/channels 的主要功能包括:Real-Time Extensions, ASGI Servers, Django Channel Workers, WebSocket Push Updates, Redis-Backed Pub-Sub Layers, Websocket Connection Managers, HTTP/2 and WebSocket Servers, Multi-Protocol Handshake Routers。
django/channels 的开源替代品包括: partykit/partykit — PartyKit is a serverless WebSocket backend platform for building real-time multiplayer applications. It provides a… python-websockets/websockets — websockets is a Python library that provides both client and server implementations for the WebSocket protocol,… crossbario/autobahn-python — WebSocket and WAMP in Python for Twisted and asyncio. boostorg/beast — Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an… uwebsockets/uwebsockets — uWebSockets is a C++ networking framework that serves as a high-performance WebSocket server library, HTTP web server,… digitallyinduced/ihp — ihp is a type-safe web framework and full-stack application orchestrator designed for PostgreSQL. It functions as a…