# µWebSockets

Simple, secure & standards compliant web server for the most demanding of applications

Repository: https://github.com/uNetworking/uWebSockets
Canonical: https://ross.abutalabs.com/products/websockets
Language: C++
License: Apache-2.0
License Family: permissive
Topics: websockets, http, pubsub, router, commercial, cross-platform, proxy-protocol
Last push: 2026-08-18T11:11:33+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 92, longevity 100
- inputs: {"age_days": 3817, "days_push": 15, "days_rel": 58, "gap_med": 27, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 18966, forks 1860 (observed 2026-08-28T04:11:27.282716+00:00)

## What it is
µWebSockets is a C/C++ web server library providing highly optimized HTTP and WebSocket handling with a built-in URL router and pub/sub features. It includes a seamless Node.js integration (uWebSockets.js) and is designed for demanding, high-throughput real-time applications.

## Use cases
- build a high-performance websocket server
- serve http and websockets from one fast server
- real-time messaging for trading or chat apps
- pub/sub messaging over websockets
- embed a fast web server in a C++ application
- use websockets from Node.js with native performance

## When to choose
- you need maximum throughput and low memory footprint for websocket or HTTP workloads
- you want a battle-tested, standards-compliant server with TLS 1.3 support
- you need built-in routing and pub/sub for real-time apps
- you want native-speed websockets in Node.js

## When to avoid
- you want a batteries-included full web framework with ORM, templating, and ecosystem middleware
- your team cannot work with C/C++ APIs and Node.js bindings are insufficient
- you need extensive third-party middleware and plugin support
- you prefer a pure-JavaScript or pure-Python stack

## Facets
- artifact type: library
- maturity: stable
- function: http-server, websocket, routing, message-queue, middleware
- domain: web-development, backend, networking, performance
- platform: cross-platform, windows, cpp, c
- tags: websockets, tls, high-performance, real-time, pubsub, http-server, nodejs-bindings, linux, macos, nodejs

## Member repositories
- uNetworking/uWebSockets (main) score 96
- uNetworking/uWebSockets.js (sdk) score 94
- uNetworking/uSockets (backend) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:27.282716+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:00:43.535129+00:00, confidence not recorded.
  - readme: https://github.com/uNetworking/uWebSockets (fetched 2026-08-28T04:11:27.282716+00:00, sha e0f689b165f8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
