Hacker GitHub

← All repos

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

Mentions per year 46 mentions · busiest year 2016 (14)
20082026
  1. …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
  2. And consider a socket.io alternative that emphasizes performance: https://github.com/uNetworking/uWebSockets
  3. …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/...
  4. 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
  5. …http/websocket server uWebSockets is seeing a 40% improvement with io_uring in initial tests! https://github.com/uNetworking/uWebSockets/issues/1603#issue...
    comment by porsager · 2023-05-22 · in Io uring
  6. …or one using select() would be fine, if not preferable. [0] https://docs.websocketpp.org/ [1] https://github.com/uNetworking/uWebSockets
  7. 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
  8. 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
  9. …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
  10. …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
  11. …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
  12. ▲ 200
    uWebSockets
    story by tosh · 2022-10-26 · 136 comments
  13. …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…
  14. …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
  15. …(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
  16. …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.
  17. …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…
  18. uWebSockets appears to be significantly faster, but this one is second: https://github.com/uNetworking/uWebSockets/blob/master/misc/... (linked from uWebSockets main github)
  19. How does this fare compared to uWebSockets? https://github.com/uNetworking/uWebSockets
  20. …https://github.com/caddyserver/caddy https://github.com/haproxy/haproxy https://github.com/uNetworking/uWebSockets
  21. …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
  22. ▲ 2
    UWebSockets – secure and standards compliant web I/O for the most demanding apps
    story by guessmyname · 2020-02-28 · 0 comments
  23. …Erlang is slow and consume a lot of memories compared to more native languages or C libraries. Ex: https://github.com/uNetworking/uWebSockets
  24. …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...
  25. …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]
  26. 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.
  27. …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
  28. …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…
  29. …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
  30. The library in question would be uWebSockets? https://github.com/uWebSockets/uWebSockets
  31. …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
  32. ▲ 255
    More than one million requests per second in Node.js
    story by _e3th · 2017-02-04 · 86 comments
  33. …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
  34. …on scale look at uWebSockets[1] which is around 50 times faster and lightweight than socket.io is. https://github.com/uWebSockets/uWebSockets
  35. ▲ 41
    Why you should never use Socket.IO
    story by alexhultman · 2016-11-09 · 25 comments
  36. ▲ 7
    uWebSockets 0.11.0
    story by alexhultman · 2016-10-25 · 0 comments
  37. ▲ 123
    uWebSockets 0.10.0
    story by alexhultman · 2016-10-05 · 27 comments
  38. 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
  39. ▲ 73
    uWebSockets 0.9.0
    story by alexhultman · 2016-09-11 · 7 comments
  40. Should have used https://github.com/uWebSockets/uWebSockets for Node.js, if performance was the objective.
  41. ▲ 34
    Node.js: uWebSockets 0.8.0 adds Windows support
    story by _e3th · 2016-08-22 · 5 comments
  42. …Which are the supported compilers? B) This issue makes it seem like that wouldn't matter, anyway? https://github.com/alexhultman/uWebSockets/issues/72
  43. 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..
  44. I get this question quite often, here is a good start: https://github.com/alexhultman/uWebSockets/issues/56
  45. ▲ 108
    uWebSockets: Scalable WebSocket server library for Node.js and C++11
    story by _e3th · 2016-05-20 · 80 comments
  46. 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