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

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 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·3 vues

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.

Historique des stars

Graphique de l'historique des stars pour gobwas/wsGraphique de l'historique des stars pour gobwas/ws

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait gobwas/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.

Quelles sont les fonctionnalités principales de gobwas/ws ?

Les fonctionnalités principales de gobwas/ws sont : Zero-Allocation Buffers, WebSocket Frame Processors, Connection Upgraders, Go WebSocket Libraries, WebSocket Protocol Upgrades, WebSocket Packet Processing, Connection State Management, WebSocket Implementations.

Quelles sont les alternatives open-source à gobwas/ws ?

Les alternatives open-source à gobwas/ws incluent : 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…

Alternatives open source à Ws

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Ws.
  • coder/websocketAvatar de coder

    coder/websocket

    5,299Voir sur 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
    Voir sur GitHub↗5,299
  • boostorg/beastAvatar de boostorg

    boostorg/beast

    4,801Voir sur 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
    Voir sur GitHub↗4,801
  • oatpp/oatppAvatar de oatpp

    oatpp/oatpp

    8,553Voir sur 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
    Voir sur GitHub↗8,553
  • facebookincubator/socketrocketAvatar de facebookincubator

    facebookincubator/SocketRocket

    9,616Voir sur 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
    Voir sur GitHub↗9,616
  • Voir les 30 alternatives à Ws→