awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
uNetworking avatar

uNetworking/uWebSockets

0
View on GitHub↗
18,888 星标·1,852 分支·C++·Apache-2.0·12 次浏览

UWebSockets

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 covers broad networking capabilities including URL routing, incremental response streaming, and heartbeat-based liveness monitoring. It also provides backpressure control to manage outgoing data flow and allows custom user data to be attached directly to sockets for state management.

Native C++ networking code is interfaced with the Node.js script engine via bindings.

Features

  • WebSocket Servers - Provides a high-performance server implementation for managing persistent, bidirectional WebSocket communication channels.
  • High-Performance Web Services - Provides a high-performance server optimized for high-throughput web requests and real-time communication.
  • Thread Scaling - Deploys isolated application instances across multiple threads to maximize multi-core CPU utilization.
  • Pub-Sub Messaging - Includes a built-in publish and subscribe mechanism to distribute messages to specific groups of connected clients.
  • WebSocket Services - Implements a high-performance framework for real-time bidirectional WebSocket communication.
  • Event Loops - Uses an event-loop architecture to distribute network load across multiple CPU cores.
  • Encrypted Connection Handlers - Provides a dedicated layer for managing TLS handshakes and securing network communication.
  • Network Security - Provides transport-layer security through the implementation of SSL and TLS encryption for network communication.
  • TLS/SSL Configurations - Implements an encryption layer using certificates and keys to enforce secure SSL/TLS network communication.
  • HTTP Request Handling - Implements a system for mapping URL patterns and HTTP methods to specific handler functions.
  • High-Performance HTTP Servers - Builds secure and standards-compliant servers that handle large volumes of HTTP requests and data streams.
  • HTTP Servers - Functions as a core server engine that maps URL patterns to handler functions for processing HTTP requests.
  • URL Routing - Provides a URL router that recognizes wildcards and parameters to direct traffic to specific handlers.
  • Incremental Data Streaming - Processes large data payloads in chunks to minimize memory consumption during high-volume transfers.
  • Heartbeat Monitors - Tracks connection health by sending periodic pings and closing unresponsive sockets.
  • Backpressure Controllers - Manages the flow of outgoing data using drain events to prevent memory overflow from buffered information.
  • Syscall Corking - Optimizes network throughput by grouping multiple outgoing messages into a single system call to minimize kernel transitions.
  • Data Compression - Reduces bandwidth usage by employing shared or dedicated compressors for WebSocket payloads.
  • Pub-Sub Systems - Includes a built-in pub-sub engine for distributing real-time messages to specific groups of connected clients.
  • Syscall Corking - Groups multiple outgoing messages into a single system call to reduce the overhead of frequent kernel transitions.
  • Node.js Network Libraries - Interfaces high-performance native C++ networking code with the Node.js runtime environment.
  • Connection Health Monitors - Monitors connection health using heartbeat pings and automatically closes sockets that exceed timeout periods.
  • Response Streaming - Sends large data payloads incrementally using callbacks to prevent memory spikes.
  • Networking - High-performance WebSocket and HTTP server.
  • Language Toolkits - Standards-compliant web server for high-demand applications.
  • Network Frameworks - High-performance WebSocket and HTTP server implementation.
  • 网络库 - Lightweight and scalable WebSocket and HTTP server.
  • Web and File Transfer Tools - High-performance WebSocket and HTTP server implementation.
  • Real Time Communication - High-performance WebSocket server and client library.

Star 历史

unetworking/uwebsockets 的 Star 历史图表unetworking/uwebsockets 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

UWebSockets 的开源替代方案

相似的开源项目,按与 UWebSockets 的功能重合度排序。
  • uwebsockets/uwebsocketsuWebSockets 的头像

    uWebSockets/uWebSockets

    18,891在 GitHub 上查看↗

    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 pr

    C++
    在 GitHub 上查看↗18,891
  • ithewei/libhvithewei 的头像

    ithewei/libhv

    7,521在 GitHub 上查看↗

    libhv is a high-performance C/C++ network library and event-driven I/O framework used to build TCP, UDP, SSL, HTTP, WebSocket, and MQTT clients and servers. It provides a non-blocking event loop for managing network sockets, timers, and system signals across multiple threads. The project is distinguished by its integrated support for specialized network roles, including a full HTTP web server with RESTful routing and middleware, an MQTT messaging client for IoT communication, and the ability to implement SOCKS5 and HTTP proxies. It also features a reliable UDP implementation to ensure ordered

    Ccurlepollhttp-client
    在 GitHub 上查看↗7,521
  • hyperf/hyperfhyperf 的头像

    hyperf/hyperf

    6,855在 GitHub 上查看↗

    Hyperf is a high-performance PHP coroutine framework designed for building microservices and middleware. It utilizes non-blocking coroutines to handle high concurrency and low-latency request processing, providing a foundation for scalable distributed systems. The framework is distinguished by an aspect-oriented programming based dependency injector that enables pluggable components and meta-programming. It includes a coroutine-optimized object-relational mapper with integrated model caching and an orchestration toolkit for microservice governance, featuring service discovery, circuit breaker

    PHP
    在 GitHub 上查看↗6,855
  • h2o/h2oh2o 的头像

    h2o/h2o

    11,493在 GitHub 上查看↗

    h2o is a high-performance content delivery server and HTTP/3 web server. It functions as a network gateway and reverse proxy that forwards client requests to upstream servers to manage traffic flow and load. The project distinguishes itself as a protocol fuzzing tool, utilizing a testing framework to execute automated stress tests against network protocols to identify memory leaks and crashes. The server provides capabilities for secure web traffic management through encrypted data transmission and high-performance web serving across HTTP/1, HTTP/2, and HTTP/3. It includes tools for server r

    C
    在 GitHub 上查看↗11,493
查看 UWebSockets 的所有 30 个替代方案→

常见问题解答

unetworking/uwebsockets 是做什么的?

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.

unetworking/uwebsockets 的主要功能有哪些?

unetworking/uwebsockets 的主要功能包括:WebSocket Servers, High-Performance Web Services, Thread Scaling, Pub-Sub Messaging, WebSocket Services, Event Loops, Encrypted Connection Handlers, Network Security。

unetworking/uwebsockets 有哪些开源替代品?

unetworking/uwebsockets 的开源替代品包括: uwebsockets/uwebsockets — uWebSockets is a C++ networking framework that serves as a high-performance WebSocket server library, HTTP web server,… ithewei/libhv — libhv is a high-performance C/C++ network library and event-driven I/O framework used to build TCP, UDP, SSL, HTTP,… hyperf/hyperf — Hyperf is a high-performance PHP coroutine framework designed for building microservices and middleware. It utilizes… h2o/h2o — h2o is a high-performance content delivery server and HTTP/3 web server. It functions as a network gateway and reverse… websockets/ws — This project is a Node.js WebSocket library that provides a high-performance client and server implementation for the… nanohttpd/nanohttpd — NanoHTTPD is a lightweight, embeddable HTTP server for Java applications. It allows developers to integrate web server…