awesome-repositories.comCategoriesBlog
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
·
uWebSockets avatar

uWebSockets/uWebSockets

0
View on GitHub↗
18,891 stars·1,853 forks·C++·Apache-2.0·11 views

UWebSockets

uWebSockets is a C++ networking framework that serves as a high-performance WebSocket server library, HTTP web server, and pub-sub messaging system. It provides the infrastructure necessary to handle standard web requests and maintain low-latency, bidirectional connections between clients and servers.

The framework is distinguished by its use of template meta-programming for compile-time optimization and zero-copy buffer management to minimize memory latency. It utilizes a backend-agnostic event loop and static route resolution to process network traffic with minimal runtime overhead.

The project covers a broad range of capabilities including parameterized URL routing, topic-based message broadcasting via a publish-subscribe model, and real-time data streaming. It also implements secure network communication through the Transport Layer Security 1.3 protocol.

The build process allows for the custom selection of event loop and cryptography libraries to meet specific target platform requirements.

Features

  • High-Performance HTTP Servers - Provides a high-performance HTTP server library optimized for low-latency and high-throughput web service delivery.
  • Websocket Connection Managers - Maintains persistent WebSocket connections with low-latency bidirectional data exchange.
  • HTTP/2 and WebSocket Servers - Implements a server that handles both HTTP and WebSocket protocols for real-time bidirectional communication.
  • Pub-Sub Messaging - Implements a publish-subscribe architecture for decoupling message producers and consumers via topics.
  • Pub-Sub Systems - Implements a real-time messaging platform using a publish-subscribe delivery model via topics.
  • Publish-Subscribe Systems - Implements a high-performance publish-subscribe system to broadcast real-time messages to multiple connected clients via topics.
  • Real-Time Data Streams - Enables real-time data streaming via persistent WebSocket connections to push live updates to clients.
  • Topic-Based Messaging - Implements a topic-based messaging system to efficiently broadcast data packets to multiple subscribers.
  • Non-Blocking Event Loops - Employs a non-blocking I/O event loop to handle thousands of simultaneous network connections.
  • HTTP Request Handling - Provides low-level utilities for parsing and managing incoming HTTP requests and responses.
  • C++ Web Frameworks - Serves as a high-performance C++ networking framework for building web servers and REST APIs.
  • HTTP Servers - Provides a lightweight C++ server engine for handling and routing HTTP web traffic.
  • Event Loop Backends - Allows switching between different low-level network backends like uSockets or epoll based on the OS.
  • Compile-Time Meta-Programming - Uses compile-time template meta-programming to optimize request handling and minimize runtime overhead.
  • Secure Network Communication - Secures network communications by implementing industry-standard TLS 1.3 encryption.
  • TLS Traffic Encryption - Provides secure network communication by wrapping web server traffic in the Transport Layer Security 1.3 protocol.
  • Static Route Compilers - Transforms route definitions into high-performance lookup trees for fast static route resolution.
  • Route Parameterization - Ships a mechanism for extracting dynamic segments and parameters from URLs to drive application logic.
  • Zero-Copy Buffers - Uses zero-copy buffer management to reduce CPU usage and memory latency during network data handling.
  • Real Time Communication - Highly scalable WebSocket server and client.

Star history

Star history chart for uwebsockets/uwebsocketsStar history chart for uwebsockets/uwebsockets

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

Frequently asked questions

What does uwebsockets/uwebsockets do?

uWebSockets is a C++ networking framework that serves as a high-performance WebSocket server library, HTTP web server, and pub-sub messaging system. It provides the infrastructure necessary to handle standard web requests and maintain low-latency, bidirectional connections between clients and servers.

What are the main features of uwebsockets/uwebsockets?

The main features of uwebsockets/uwebsockets are: High-Performance HTTP Servers, Websocket Connection Managers, HTTP/2 and WebSocket Servers, Pub-Sub Messaging, Pub-Sub Systems, Publish-Subscribe Systems, Real-Time Data Streams, Topic-Based Messaging.

What are some open-source alternatives to uwebsockets/uwebsockets?

Open-source alternatives to uwebsockets/uwebsockets include: unetworking/uwebsockets — uWebSockets is a high-performance networking engine providing an HTTP web server and a WebSocket server framework. It… boostorg/beast — Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an… ninenines/cowboy — Cowboy is a high-performance HTTP server for Erlang and OTP. It is designed to handle web traffic with low memory… nanohttpd/nanohttpd — NanoHTTPD is a lightweight, embeddable HTTP server for Java applications. It allows developers to integrate web server… jorisvink/kore — Kore is an event-driven web and WebSocket server framework designed for building high-performance web services and… yhirose/cpp-httplib — This is a header-only C++ library that provides implementations for HTTP clients, HTTP servers, and a WebSocket…

Open-source alternatives to UWebSockets

Similar open-source projects, ranked by how many features they share with UWebSockets.
  • unetworking/uwebsocketsuNetworking avatar

    uNetworking/uWebSockets

    18,888View on GitHub↗

    uWebSockets is a high-performance networking engine providing an HTTP web server and a WebSocket server framework. It implements a multi-threaded event loop architecture to deploy isolated application instances across multiple CPU cores and includes an SSL/TLS network layer for secure, encrypted communication. The project features a dedicated WebSocket pub/sub engine for distributing messages to specific groups of connected clients. It optimizes network throughput through syscall corking to reduce kernel overhead and employs payload compression to minimize data transfer sizes. The system cov

    C++commercialcross-platformhttp
    View on GitHub↗18,888
  • 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
  • ninenines/cowboyninenines avatar

    ninenines/cowboy

    7,513View on GitHub↗

    Cowboy is a high-performance HTTP server for Erlang and OTP. It is designed to handle web traffic with low memory usage and can be used as a standalone server or as an embedded networking library integrated directly into an existing application. The project implements modern transport protocols, including HTTP/3, QUIC, and WebTransport, to enable faster connections and bidirectional data streaming. It also functions as a real-time communication server supporting Server-Sent Events for pushing asynchronous updates to clients. Broad capabilities include path and content-type based request rout

    Erlang
    View on GitHub↗7,513
  • nanohttpd/nanohttpdNanoHttpd avatar

    NanoHttpd/nanohttpd

    7,215View on GitHub↗

    NanoHTTPD is a lightweight, embeddable HTTP server for Java applications. It allows developers to integrate web server capabilities directly into a Java project to handle incoming requests without requiring a standalone installation. The project provides specialized implementations for an HTTPS web server, a WebSocket server for bidirectional real-time communication, and a static file web server. These capabilities enable secure network traffic through SSL certificates and the delivery of local files with automatic MIME type detection. The server includes systems for request routing and hand

    Java
    View on GitHub↗7,215
See all 30 alternatives to UWebSockets→