awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
joewalnes avatar

joewalnes/reconnecting-websocket

0
View on GitHub↗
4,322 stars·955 forks·JavaScript·MIT·3 views

Reconnecting Websocket

reconnecting-websocket is a JavaScript utility that wraps the standard WebSocket API to provide automatic reconnection and session management. It functions as a decorator for WebSocket instances, ensuring that dropped network connections are restored to maintain continuous real-time data streaming.

The library implements an API-compatible wrapper, allowing it to be integrated into existing projects without requiring changes to the underlying code. It utilizes exponential backoff polling to schedule reconnection attempts at increasing intervals and provides a mechanism to force a manual connection reset to clear stale sessions.

The project manages the connection lifecycle through event-driven state management and closure-based event delegation, proxying native socket events to the wrapper instance to ensure network resilience during intermittent outages.

Features

  • Websocket Connection Managers - Provides a comprehensive manager for persistent WebSocket connections including automatic reconnection and lifecycle handling.
  • WebSocket Reconnections with Backoff - Implements automatic reconnection of WebSocket links using an exponential backoff strategy to prevent server overload.
  • Automatic Connection Recovery - Automatically restores dropped WebSocket communication channels to maintain application functionality after failures.
  • Reconnection Wrappers - Provides a JavaScript wrapper for the WebSocket API that automatically restores dropped network connections.
  • Exponential Backoff Retries - Schedules reconnection attempts using increasing intervals to protect servers during network outages.
  • WebSocket Decorators - Functions as a lightweight decorator that adds automatic reconnection behavior to standard JavaScript WebSocket instances.
  • Session Resets - Provides a manual reset capability to force a full teardown and immediate re-establishment of the socket.
  • Standard Library Wrappers - Implements a wrapper around the standard WebSocket API to ensure seamless integration without changing existing code.
  • Resilient Networking Patterns - Implements resilient networking patterns that allow web applications to recover from intermittent internet outages.
  • Real-Time Data Streaming - Ensures continuous live data streaming by preventing permanent connection failures.

Star history

Star history chart for joewalnes/reconnecting-websocketStar history chart for joewalnes/reconnecting-websocket

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Reconnecting Websocket

Similar open-source projects, ranked by how many features they share with Reconnecting Websocket.
  • sammchardy/python-binancesammchardy avatar

    sammchardy/python-binance

    7,176View on GitHub↗

    python-binance is a Python client library that provides programmatic access to the Binance cryptocurrency exchange through both REST and WebSocket APIs. It serves as a comprehensive toolkit for automated trading, account management, and market data retrieval, enabling developers to build trading bots, portfolio management tools, and data analysis applications that interact directly with the exchange. The library distinguishes itself through a dual-client architecture that separates synchronous REST calls from persistent WebSocket streams, allowing concurrent execution without blocking. It inc

    Pythonapibinancecryptocurrency
    View on GitHub↗7,176
  • kemalcr/kemalkemalcr avatar

    kemalcr/kemal

    3,881View on GitHub↗

    Kemal is a high-performance web framework for the Crystal language, designed for building scalable APIs and web applications. It provides a natively compiled web server environment that leverages ahead-of-time compilation to maximize request speed and minimize memory overhead. The framework is distinguished by a middleware-based routing engine that uses pattern-matching and a chainable pipeline for flexible request filtering. It includes a dedicated server-side template engine for generating dynamic HTML and a WebSocket communication server for bidirectional real-time messaging and state broa

    Crystal
    View on GitHub↗3,881
  • primus/primusprimus avatar

    primus/primus

    4,473View on GitHub↗

    Primus is a real-time communication abstraction layer and middleware framework. It provides a standardized interface for messaging that allows developers to switch between different transport engines without rewriting application logic, while also serving as a wrapper for managing socket lifecycles. The project distinguishes itself by functioning as a real-time client library generator, producing compatible client-side code based on server configurations. It further organizes data flow through virtual stream multiplexing and the ability to group connections into named communication rooms for

    JavaScriptbrowserchannelframeworkhttp
    View on GitHub↗4,473
  • iii-hq/iiiiii-hq avatar

    iii-hq/iii

    18,238View on GitHub↗

    iii is a distributed service orchestrator and event-driven workflow engine designed to compose and manage cross-language functions and workers through a central execution engine. It functions as a multi-language service mesh and WebSocket service gateway, providing a persistent communication layer for remote service workers. The platform enables dynamic runtime extensions, allowing new workers and capabilities to be deployed and registered into a live environment without requiring system restarts. It distinguishes itself by offering machine-readable skill exposure and agent capability integra

    Rust
    View on GitHub↗18,238
See all 30 alternatives to Reconnecting Websocket→

Frequently asked questions

What does joewalnes/reconnecting-websocket do?

reconnecting-websocket is a JavaScript utility that wraps the standard WebSocket API to provide automatic reconnection and session management. It functions as a decorator for WebSocket instances, ensuring that dropped network connections are restored to maintain continuous real-time data streaming.

What are the main features of joewalnes/reconnecting-websocket?

The main features of joewalnes/reconnecting-websocket are: Websocket Connection Managers, WebSocket Reconnections with Backoff, Automatic Connection Recovery, Reconnection Wrappers, Exponential Backoff Retries, WebSocket Decorators, Session Resets, Standard Library Wrappers.

What are some open-source alternatives to joewalnes/reconnecting-websocket?

Open-source alternatives to joewalnes/reconnecting-websocket include: sammchardy/python-binance — python-binance is a Python client library that provides programmatic access to the Binance cryptocurrency exchange… kemalcr/kemal — Kemal is a high-performance web framework for the Crystal language, designed for building scalable APIs and web… primus/primus — Primus is a real-time communication abstraction layer and middleware framework. It provides a standardized interface… iii-hq/iii — iii is a distributed service orchestrator and event-driven workflow engine designed to compose and manage… jorisvink/kore — Kore is an event-driven web and WebSocket server framework designed for building high-performance web services and… openai/openai-agents-python — This project is a Python framework for building autonomous, event-driven agent systems. It provides a unified runtime…