{"repo":"silvermpx/wse","free":true,"listed":false,"github":"https://github.com/silvermpx/wse","clone":"git clone https://github.com/silvermpx/wse.git","description":"WSE - Rust-powered WebSocket engine for Python. Up to 5M del/s fan-out, native cluster binary protocol, zero-GIL JWT, E2E encryption","language":"Rust","stars":50,"topics":["encryption","high-performance","jwt","pyo3","python","real-time","rust","tokio","websocket","websocket-server"],"license":"MIT","category":"security-tools","readme_excerpt":"WSE - WebSocket Engine High-performance WebSocket server built in Rust with native clustering, E2E encryption, message recovery, presence tracking, and real-time fan-out. Exposed to Python via PyO3 with zero GIL overhead on the data path. Ships with Rust-accelerated utilities for application code: priority queues, rate limiters, event sequencing, compression, cryptography, and JWT. Features Server Feature Details --------- --------- Rust core tokio async runtime, tungstenite WebSocket transport, dedicated thread pool, zero GIL on the data path JWT authentication HS256, RS256, ES256 algorithms via jsonwebtoken crate. Validated during handshake (0.01ms), cookie + Authorization header extraction, key rotation, kid validation Protocol negotiation client hello / server hello handshake with feature discovery, capability advertisement, version agreement Topic subscriptions Per-connection topic subscriptions with automatic cleanup on disconnect Pre-framed broadcast WebSocket frame built once, shared via Arc across all connections, single allocation per broadcast Vectored writes write vectored (writev syscall) batches multiple frames per connection in a single kernel call Write coalescing Write task drains up to 256 pending frames per iteration via recv many DashMap state Lock-free sharded concurrent hash maps for topics, rates, formats, activity tracking mimalloc allocator Global allocator optimized for multi-threaded workloads with frequent small allocations Deduplication 50,000-ent","default_branch":null,"files":null,"tree":[],"storefront":"/r/silvermpx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/silvermpx/wse/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}