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

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

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
gobwas avatar

gobwas/ws

0
View on GitHub↗
6,463 stars·386 forks·Go·MIT·17 views

Ws

This Go library provides low-level components for implementing high-performance WebSocket connections. It focuses on minimal memory allocations and efficient data throughput via a dedicated frame processor, an HTTP connection upgrader, and a compression layer.

The project distinguishes itself through the use of zero-allocation buffer reuse to reduce garbage collection pressure. It operates directly on raw network bytes for frame parsing and manages the lifecycle of connections through state-based tracking.

The library covers core network protocol capabilities including the transformation of standard HTTP requests into persistent sockets, the application of compression algorithms to data streams, and the low-level processing of network packets.

Features

  • Zero-Allocation Buffers - Utilizes pre-allocated byte slices for reading and writing network frames to eliminate intermediate memory allocations.
  • WebSocket Frame Processors - Provides a dedicated frame processor for reading and writing network frames using low-level buffers.
  • Connection Upgraders - Provides a high-performance mechanism to transition standard HTTP requests into persistent WebSocket connections.
  • Go WebSocket Libraries - Provides a high-performance, low-allocation WebSocket implementation specifically for the Go programming language.
  • WebSocket Protocol Upgrades - Implements the mechanism for upgrading standard HTTP connections to the WebSocket protocol via a high-performance handshake.
  • WebSocket Packet Processing - Provides low-level buffer access for reading and writing network frames to increase throughput and reduce allocations.
  • Connection State Management - Tracks the lifecycle and protocol state of individual sockets to ensure correct frame processing order.
  • WebSocket Implementations - Provides a low-level implementation of the WebSocket protocol, including handshakes and persistent bidirectional communication.
  • Network Frame Parsing - Operates directly on raw network bytes to extract WebSocket headers and payloads without high-level abstractions.
  • Data Compression - Provides a compression layer to reduce network bandwidth usage for transmitted WebSocket data streams.
  • WebSocket Frame Compression - Implements a compression layer that reduces the size of individual WebSocket frames to save bandwidth.
  • High-Concurrency Networking - Designed for high-concurrency networking using low-level buffer management to process large volumes of packets.
  • Real-Time Data Streams - Enables the creation of low-latency systems that push frequent real-time updates to connected clients.
  • Communication and Real-time - A low-level, high-performance WebSocket development package.

Star history

Star history chart for gobwas/wsStar history chart for gobwas/ws

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

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 Ws

Similar open-source projects, ranked by how many features they share with Ws.
  • coder/websocketcoder avatar

    coder/websocket

    5,299View on GitHub↗

    This is a minimal WebSocket library for Go designed for bidirectional real-time communication. It serves as a network protocol implementation for managing handshakes, frame masking, and control signals to enable the exchange of text and binary messages over persistent connections. The library distinguishes itself by providing a connectivity layer that wraps browser WebSocket APIs for applications compiled to WebAssembly. It also functions as data compression middleware, utilizing deflate compression to reduce bandwidth usage for transmitted messages. The project covers a broad range of netwo

    Gogohttp2idiomatic
    View on GitHub↗5,299
  • boostorg/beastboostorg avatar

    boostorg/beast

    4,801View on GitHub↗

    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

    C++asioasync-programmingboost
    View on GitHub↗4,801
  • oatpp/oatppoatpp avatar

    oatpp/oatpp

    8,553View on GitHub↗

    Oatpp is a high-performance C++ web framework and API development kit used for building REST APIs and web services. It functions as an asynchronous HTTP server that utilizes coroutines to handle thousands of simultaneous connections without blocking threads. The toolkit includes a native C++ object-relational mapping layer for executing SQL queries and transforming database results into data objects. It also provides a WebSocket communication library for establishing full-duplex channels to support real-time data streaming and live media. The framework covers a broad range of capabilities, i

    C++c-plus-pluscppcross-platform
    View on GitHub↗8,553
  • facebookincubator/socketrocketfacebookincubator avatar

    facebookincubator/SocketRocket

    9,616View on GitHub↗

    SocketRocket is an Objective-C WebSocket client library designed to establish bidirectional real-time communication channels between an application and a server. It provides a networking layer for real-time data streaming, utilizing a heartbeat monitor to maintain the stability of active network streams. The library is built to operate across restricted networks by routing traffic through HTTP proxies. It secures data transmission using TLS encryption and SSL certificate pinning to prevent unauthorized interception of network traffic. Its underlying capabilities include low-level TCP socket

    Objective-C
    View on GitHub↗9,616
See all 30 alternatives to Ws→

Frequently asked questions

What does gobwas/ws do?

This Go library provides low-level components for implementing high-performance WebSocket connections. It focuses on minimal memory allocations and efficient data throughput via a dedicated frame processor, an HTTP connection upgrader, and a compression layer.

What are the main features of gobwas/ws?

The main features of gobwas/ws are: Zero-Allocation Buffers, WebSocket Frame Processors, Connection Upgraders, Go WebSocket Libraries, WebSocket Protocol Upgrades, WebSocket Packet Processing, Connection State Management, WebSocket Implementations.

What are some open-source alternatives to gobwas/ws?

Open-source alternatives to gobwas/ws include: coder/websocket — This is a minimal WebSocket library for Go designed for bidirectional real-time communication. It serves as a network… boostorg/beast — Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an… oatpp/oatpp — Oatpp is a high-performance C++ web framework and API development kit used for building REST APIs and web services. It… facebookincubator/socketrocket — SocketRocket is an Objective-C WebSocket client library designed to establish bidirectional real-time communication… zaphoyd/websocketpp — This is a header-only C++ library and asynchronous network framework used to implement WebSocket clients and servers.… gorilla/websocket — This project provides a comprehensive implementation of the WebSocket protocol, enabling persistent, bidirectional…