Hacker GitHub

← All repos

uNetworking/uWebSockets.js

View on GitHub ↗ ★ 9,188 C++

μWebSockets for Node.js back-ends :metal:

24 mentions on Hacker News by 15 people: 2 stories, 22 comments · first 2019-09-17 · latest 2026-06-01

Mentions per year 24 mentions · busiest year 2022 (7)
20082026
  1. I came across this interesting rant the other day: https://github.com/uNetworking/uWebSockets.js/blob/master/mi... It does make sense that the right way would be to fork every dependency you use and install from your own repo reviewing and…
  2. Interesting that https://github.com/uNetworking/uWebSockets.js (which is C++ with node bindings) outperforms the raw C++ uWebSockets implementation. It's also interesting that https://github.com/websockets/ws does not appear in this study,…
  3. …encore does benchmark compared to encore, uwsjs, bun, and fastify. express is just so damn slow. https://github.com/uNetworking/uWebSockets.js
  4. Just go to its repo https://github.com/uNetworking/uWebSockets.js and see the uWebSockets submodule dependency that it's written in C++ (90.9%) and C (6.8%)...so sure, a "fair" comparison indeed with vanilla implementation!
  5. …in node, and you'll leave Deno in the dust again. (uws is also what's under the hood in bun) https://github.com/uNetworking/uWebSockets.js
  6. have you tried https://github.com/uNetworking/uWebSockets.js/
  7. …to another IP address in the code. The server only uses only one port. 9001 according to the code. https://github.com/uNetworking/uWebSockets.js/blob/875f16e1f... This blog post does not make any sense.
  8. …entirely to perform well at that particular usecase (high throughout for small bits of data). https://github.com/uNetworking/uWebSockets.js
    comment by dmix · 2022-10-16 · in Deno vs. Bun performance is rigged
  9. …I think what they mean is it uses uWebSockets.js, a Node.js module wrapping a C++ implementation. https://github.com/uNetworking/uWebSockets.js
  10. …with uWebSockets.js There are better alternatives like the following: - https://www.fastify.io/ - https://github.com/uNetworking/uWebSockets.js - https://github.com/kartikk221/hyper-express
  11. …In fact it beats everything based on Node's built-in http module, such as fastify, hapi, koa. https://github.com/uNetworking/uWebSockets.js
  12. https://github.com/uNetworking/uWebSockets.js seems more popular in the crypto world.
  13. I think you're right. Here's a project proving the exact opposite of native bindings being slow - https://github.com/uNetworking/uWebSockets.js
  14. …performance than most web frameworks out there. - https://github.com/uNetworking/uWebSockets - https://github.com/uNetworking/uWebSockets.js/ - https://github.com/uNetworking/uWebSockets/tree/master/bench...
  15. …as it's 12-factor where you got a session store / pub-sub mechanism that both servers can use. - https://github.com/uNetworking/uWebSockets.js - https://12factor.net/
  16. …but question is do you really need those right now? The answer greatly varies per project. [0] https://github.com/uNetworking/uWebSockets.js/
  17. …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
  18. …uwebsockets.js is what you'd want since it's mature enough already (used by top crypto exchanges). https://github.com/uNetworking/uWebSockets.js/ And oh it comes with TS types which are cool.
    comment by joshxyz · 2021-01-16 · in Rust is a hard way to make a web API
  19. …architectural choices are frozen and any significant perf improvments become impossible? [1] https://github.com/uNetworking/uWebSockets.js
  20. …loop holes in file upload and I didn't know shit about language. At that time I found uws ( https://github.com/uNetworking/uWebSockets.js ) that easily got me to 10K easily, and I was like "I would rather bet on a community investing on…
    comment by maxpert · 2019-12-24 · in Million WebSockets and Go (2017)
  21. …than the one mentioned in the blog. It can handle 6X more connections and much less memory https://github.com/uNetworking/uWebSockets.js EDIT: Note that the blog post is from 2015. There are many optimization (Ignition and TurboFan…
  22. …benchmarks (despite being able to score very well) because he says their methodology is flawed. [1] https://github.com/uNetworking/uWebSockets.js/
    comment by leeoniya · 2019-09-17 · in GraalVM: The holy graal of polyglot JVM?