uNetworking/uWebSockets
View on GitHub ↗ ★ 19,017 C++
Simple, secure & standards compliant web server for the most demanding of applications
46 mentions on Hacker News by 33 people: 9 stories, 37 comments · first 2016-05-17 · latest 2025-11-17
20082026
-
…rps [1]. however, the author is benchmarking a route with an id param here, not a static route. [1] https://github.com/uNetworking/uWebSockets/discussions/1415
comment by leeoniya · 2025-11-17 · in Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo) -
And consider a socket.io alternative that emphasizes performance: https://github.com/uNetworking/uWebSockets
comment by ivape · 2025-06-29 · in Ask HN: Why does my Node.js multiplayer game lag at 500 players with low CPU? -
…more requests with less cpu/memory. Edit: Thanks for that link though, just got turned onto this: https://github.com/uNetworking/uWebSockets/blob/master/misc/...
comment by ivape · 2025-05-04 · in Feather: A Rust web framework that does not use async -
They use uWebSockets ( https://github.com/uNetworking/uWebSockets ), which was written in C, but has an interface to use in NodeJS. It's been really performant for me in my simple tests compared to other popular websocket libs that slow…
comment by JoeOfTexas · 2023-12-21 · in Show HN: I'm open-sourcing my game engine -
…or one using select() would be fine, if not preferable. [0] https://docs.websocketpp.org/ [1] https://github.com/uNetworking/uWebSockets
comment by chrsig · 2022-12-23 · in Nuklear – A single-header ANSI C immediate mode cross-platform GUI library -
Really cool i also made and CAPI for using WebSocket in C, https://github.com/uNetworking/uWebSockets/tree/master/capi I will take a deep look on your project thanks for sharing!
comment by cirospaciari · 2022-11-14 · in WebSocket Server in C -
The first link on the page explains exactly what it is, and what the motivations are. https://github.com/uNetworking/uWebSockets/blob/master/misc/...
comment by Deukhoofd · 2022-10-26 · in uWebSockets -
…of the reasons for Bun’s high performance in server benchmarks [1], not just JavaScriptCore. [1] https://github.com/uNetworking/uWebSockets/discussions/1466#...
comment by matesz · 2022-10-26 · in uWebSockets -
…care for smart algorithms, memory usage, CPU-time usage and the like has dwindled in comparison. https://github.com/uNetworking/uWebSockets/blob/master/misc/...
comment by 323 · 2022-10-26 · in uWebSockets -
…how nodejs and C++, which started so far apart, are slowly merging into one language... [1]: https://github.com/uNetworking/uWebSockets#battery-batteries...
comment by londons_explore · 2022-10-26 · in uWebSockets -
…and uWebSockets.js beats express.js on benchmarks. see https://www.fastify.io/benchmarks/ and https://github.com/uNetworking/uWebSockets/tree/master/bench... - Multi-part parsing: this is built-in with uWebSockets.js. on express your…
comment by joshxyz · 2022-08-20 · in Ask HN: So, what's up with Phoenix (web framework)? -
…has node bindings [1]. Of course this is just a small detail, since Bun is a huge project. [1] https://github.com/uNetworking/uWebSockets/discussions/1466#...
comment by matesz · 2022-08-14 · in Will Bun JavaScript Take Node's Crown -
…(creator of bun) exchange some words here [1]. It turns out Bun is using uws under the hood. [1] https://github.com/uNetworking/uWebSockets/discussions/1466
comment by matesz · 2022-07-13 · in Bun (can become) the ideal JavaScript runtime -
…page showing what it is capable of: https://www.webtoolkit.eu/widgets The other option is uWs( https://github.com/uNetworking/uWebSockets ) but then you have to include the missing parts such as templating system and ORM.
comment by _448 · 2022-05-18 · in Ask HN: C/C++ web framework with routes (like Node.js, Python Flask) -
…used by most trading platforms, which got better performance than most web frameworks out there. - https://github.com/uNetworking/uWebSockets - https://github.com/uNetworking/uWebSockets.js/ - https://github.com/uNetworking/uWebSockets/tree…
comment by joshxyz · 2022-02-24 · in Ask HN: Any one with experience with Server Sent Event at scale? -
uWebSockets appears to be significantly faster, but this one is second: https://github.com/uNetworking/uWebSockets/blob/master/misc/... (linked from uWebSockets main github)
comment by kreetx · 2021-09-07 · in Libwebsockets a powerful and lightweight pure C library -
How does this fare compared to uWebSockets? https://github.com/uNetworking/uWebSockets
comment by porsager · 2021-09-07 · in Libwebsockets a powerful and lightweight pure C library -
…https://github.com/caddyserver/caddy https://github.com/haproxy/haproxy https://github.com/uNetworking/uWebSockets
comment by pdevr · 2021-08-24 · in Ask HN: What are the best publicly available FAMANG code repos? -
…are just convincing. Highly recommend people using ExpressJS / Koa / whatever to try it. [0] https://github.com/uNetworking/uWebSockets.js/ [1] https://github.com/uNetworking/uWebSockets/tree/master/bench...
comment by joshxyz · 2021-01-27 · in Data fetching on the web still sucks -
…Erlang is slow and consume a lot of memories compared to more native languages or C libraries. Ex: https://github.com/uNetworking/uWebSockets
comment by Thaxll · 2019-10-11 · in 600k concurrent websocket connections on AWS using Node.js (2015) -
…C / C++ / Go implementation using less than a 1GB for 1m connections. Pretty cool nonetheless! https://github.com/uNetworking/uWebSockets https://speakerdeck.com/eranyanay/going-infinite-handling-1m...
comment by Thaxll · 2019-05-07 · in Show HN: 2M fully loaded concurrent WebSockets -
…making a socket server that can serve hundreds of thousands. Here's a nice WebSocket server in C++: https://github.com/uNetworking/uWebSockets/blob/master/READM...
comment by bschwindHN · 2018-06-07 · in Things I Regret About Node.js [video] -
Nice. Please take a look at https://github.com/uNetworking/uWebSockets There is a drop-in line that can make your socket.io a lot faster, if that's your jam.
comment by sova · 2017-05-30 · in Show HN: Whaller – create private social networks for your org and community -
…second an attempt at comparing it to ZeroMQ, even though they're obviously somewhat different. [0] https://github.com/uNetworking/uWebSockets [1] https://github.com/alexhultman
comment by yowlingcat · 2017-05-25 · in Show HN: µTT – A new faster MQTT broker -
…no licensing information attached whatsoever. This directly conflicts with uWebSocket's licence ( https://github.com/uWebSockets/uWebSockets/blob/master/LICEN... ), which clearly states: "3. This notice may not be removed or altered from…
comment by Etheryte · 2017-04-25 · in Tell HN: Discord is violating open source licenses -
…extra time to respond. I don't see a valid reason or motivation on their part not to fix it. 0: https://github.com/uWebSockets/uWebSockets#widely-adopted
comment by rodionos · 2017-04-25 · in Tell HN: Discord is violating open source licenses -
The library in question would be uWebSockets? https://github.com/uWebSockets/uWebSockets
comment by vecplane · 2017-04-25 · in Tell HN: Discord is violating open source licenses -
…popular libraries (like socket.io, but more importantly, you should check out the high performance https://github.com/uWebSockets/uWebSockets instead). Is all this doing trying to encourage awareness that using websockets is good? If so,…
comment by marknadal · 2017-02-13 · in Show HN: WebSocket-first development -
…I recommend their implementation for anyone planning on implementing a websocket server in C++. [1] https://github.com/uWebSockets/uWebSockets
comment by Matheus28 · 2016-12-27 · in WebRTC: the future of web games -
…on scale look at uWebSockets[1] which is around 50 times faster and lightweight than socket.io is. https://github.com/uWebSockets/uWebSockets
comment by lossolo · 2016-12-20 · in Show HN: Razorframe – A Node.js module for empowering real-time apps at scale -
We are working with Alex,creator of µWebSockets ( https://github.com/uWebSockets/uWebSockets ) on moving all connectivity and networking aspects to low level C
comment by wolframhempel · 2016-09-21 · in Deepstream.io – Open Realtime Server -
Should have used https://github.com/uWebSockets/uWebSockets for Node.js, if performance was the objective.
comment by onestone · 2016-09-03 · in Websocket Shootout: Clojure, C++, Elixir, Go, Node.js, and Ruby -
…Which are the supported compilers? B) This issue makes it seem like that wouldn't matter, anyway? https://github.com/alexhultman/uWebSockets/issues/72
comment by moron4hire · 2016-05-20 · in uWebSockets: Scalable WebSocket server library for Node.js and C++11 -
In https://github.com/alexhultman/uWebSockets/blob/master/src/u... What's the deal with delete [] (char *) head; where `head` is of type `struct Message` ? Is this some kind of performance trick ?... Otherwise it looks kind of suspicious..
comment by justsaysmthng · 2016-05-20 · in uWebSockets: Scalable WebSocket server library for Node.js and C++11 -
I get this question quite often, here is a good start: https://github.com/alexhultman/uWebSockets/issues/56
comment by alexhultman · 2016-05-20 · in uWebSockets: Scalable WebSocket server library for Node.js and C++11 -
I wonder what was the WebSocket module used in Node. There is this new module https://github.com/alexhultman/uWebSockets which is very promising.
comment by lpinca · 2016-05-17 · in From Node.js to Go