Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

uWebSockets

> 数据库
Open source

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

18.9K stars0 likes1 views
WebsiteGitHub

About

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



:closed_lock_with_key: Optimized security

Being meticulously optimized for speed and memory footprint, µWebSockets is fast enough to do encrypted TLS 1.3 messaging quicker than most alternative servers can do even unencrypted, cleartext messaging3.

Furthermore, we partake in Google's OSS-Fuzz with a ~95% daily fuzzing coverage4 with no sanitizer issues. LGTM scores us flawless A+ from having zero CodeQL alerts and we compile with pedantic warning levels.

:arrow_forward: Rapid scripting

µWebSockets is written entirely in C & C++ but has a seamless integration for Node.js backends. This allows for rapid scripting of powerful apps, using widespread competence. See µWebSockets.js.

:crossed_swords: Battle proven

We've been fully standards compliant with a perfect Autobahn|Testsuite score since 20162. µWebSockets powers many of the biggest crypto exchanges in the world, handling trade volumes of multiple billions of USD every day. If you trade crypto, chances are you do so via µWebSockets.

:battery: Batteries included

Designed around a convenient URL router with wildcard & parameter support - paired with efficient pub/sub features for WebSockets. µWebSockets should be the obvious, complete starting point for any real-time web project with high demands.

Start building your Http & WebSocket apps in no time; read the user manual and see examples. You can browse our TypeDoc for a quick overview.

…

:briefcase: Commercially supported

uNetworking AB is a Swedish consulting & contracting company dealing with anything related to µWebSockets; development, support and customer success.

Don't hesitate sending a mail if you're building something large, in need of advice or having other business inquiries in mind. We'll figure out what's best for both parties and make sure you're not falling into common pitfalls.

Special thanks to BitMEX, Bitfinex, Google, Coinbase, Bitwyre, AppDrag and deepstreamHub for allowing the project itself to thrive on GitHub since 2016 - this project would not be possible without these beautiful companies.

:wrench: Customizable architecture

µWebSockets builds on µSockets, a foundation library implementing eventing, networking and cryptography in three different layers. Every layer has multiple implementations and you control the compiled composition with flags. There are currently five event-loop integrations; libuv, ASIO, GCD and raw epoll/kqueue.

In a nutshell:

  • WITH_WOLFSSL=1 WITH_LIBUV=1 make examples builds examples utilizing WolfSSL and libuv
  • WITH_OPENSSL=1 make examples builds examples utilizing OpenSSL and the native kernel

See µSockets for an up-to-date list of flags and a more detailed explanation.

:handshake: Permissively licensed

Intellectual property, all rights reserved.

Where such explicit notice is given, source code is licensed Apache License 2.0 which is a permissive OSI-approved license with very few limitations. Modified "forks" should be of nothing but licensed source code, and be made available under another product name. If you're uncertain about any of this, please ask before assuming.

Issues· 50 open

View all issuesOpen on GitHub
  • #1948

    PROXY v2 parser accepts invalid commands and returns addresses from invalid family blocks

    Updated Sep 27, 2026
  • #1945

    Some caching features

    Updated Sep 18, 2026
  • #1936

    Chunked encoding parser fixes

    Updated Aug 18, 2026
  • #1931

    io_uring backend silently drops WebSocket messages above ~2KB( works reliably on epoll)

    Updated Aug 4, 2026
  • #1855

    Invoking `endWithoutBody` with a size, without invoking `onAborted` is forbidden

    bugUpdated Jul 30, 2026
  • #1863

    Double-Free of UserData when gracefully closing a Websocket from Server-Side

    medium priorityUpdated Apr 15, 2026
  • #1920

    Client Support

    Updated Mar 30, 2026
  • #1910

    Method to indicate that request has body

    Updated Mar 13, 2026
  • #1912

    How to configure keep-alive for uWs.App()?

    Updated Mar 11, 2026
  • #1911

    Allow specifying a WS closing code to TemplatedApp.close()

    Updated Mar 11, 2026

> Tags

C++commercialcross-platformhttpproxy-protocol

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库