Open in app

Sign In

Write

Sign In

uNetworking AB
uNetworking AB

670 Followers

Home

About

Oct 18, 2022

A shorter take on the NPM slander

Gosh darn it he broke my shit on purpose! — In the year 2018 when uWS was at experimental version 0.14.x, I posted an empty package to NPM with the README file saying in big black ink: “I no longer publish to NPM. Find me elsewhere.”. This was when the project moved to GitHub where it remains to this date. …

3 min read

A shorter take on the NPM slander
A shorter take on the NPM slander

3 min read


Oct 17, 2022

Nobody needs a million requests/sec

Web benchmarks aren’t about the hugest number — When we see web benchmarks presenting a gazillion requests per second, the most common critique goes something like “this doesn’t matter for any real world application and people who care are fools”. I think we can all agree that for many use cases there are other prioritizations to be made…

Nodejs

3 min read

Nodejs

3 min read


Oct 16, 2022

Deno v. Bun performance is rigged

It’s easy to win with twice the disposable computing power as your adversary — Presented below, by the Deno crew, is the claim that Deno outruns up and coming Bun when it comes to HTTP. There’s a small win for Deno presented, with Bun right after: Now, even if we take the numbers given and swallow them whole, there’s an awfully important detail omitted…

Nodejs

2 min read

Deno v. Bun performance is rigged
Deno v. Bun performance is rigged
Nodejs

2 min read


Jul 10, 2022

Bun (can become) the ideal JavaScript runtime

Finally a JS runtime made to perform — running circles around both Deno and Node.js — Ever since I published uWS for Node.js 7 years ago, my main point and what I have been trying to explain has been: look, JavaScript runtimes/servers can perform much better if made optimized from the start Of course in this day and age, any criticism in whatever form, immediately gets…

Nodejs

2 min read

Bun (can become) the ideal JavaScript runtime
Bun (can become) the ideal JavaScript runtime
Nodejs

2 min read


May 15, 2022

H3, meet Node.js

Early HTTP/3 for Node.js with performance metrics — Nightly builds of uWebSockets.js now ship with experimental HTTP/3 support*. Let’s take it for a spin! npm install uNetworking/uWebSockets.js#binaries Just like you’re used to, server endpoints are defined via an easy-to-use URL router with pattern matching and wildcards: const uWS = require('uWebSockets.js'); uWS.H3App({ .key_file_name: './key.pem', .cert_file_name: './cert.pem' }).get('/*', (res…

Nodejs

3 min read

H3, meet Node.js
H3, meet Node.js
Nodejs

3 min read


May 12, 2022

5 million HTTP/3 requests per second

Early performance testing of QUIC support in uWebSockets on M1 MacBook Air — uWebSockets is an HTTP & WebSocket server library, getting QUIC and HTTP/3 support soon. Right now there is a minimal, highly incomplete and experimental example, recently benchmarked. Compile with “WITH_BORINGSSL=1 WITH_QUIC=1 make” This example is a simple but complete HTTP/3 server with header compression and a simple response. The idea…

Quic

2 min read

5 million HTTP/3 requests per second
5 million HTTP/3 requests per second
Quic

2 min read


May 8, 2022

Deno is slow, and why association fallacy matters

I brush my teeth like Jhonny. Jhonny has no cavities. Therefore I have no cavities. — False marketing A common logical fallacy is the Association fallacy — Rust is hyped and proven to be fast and reliable — Deno is written to some small degree in Rust; therefore it has to be fast, as Rust is! Nope — it still can’t even beat Node.js. This marketing trick was…

Deno

2 min read

Deno is slow, and why association fallacy matters
Deno is slow, and why association fallacy matters
Deno

2 min read


Jul 25, 2021

Experimental QUIC for µWebSockets

Initial performance expectations for upcoming QUIC support — I am currently implementing QUIC support in µWS and as usual, thorough benchmarking and market research is a key first step. As a comparison I compiled the Node.js v15.0.0 source code with the — experimental-quic flag set, enabling core support for QUIC. …

Nodejs

2 min read

Experimental QUIC for µWebSockets
Experimental QUIC for µWebSockets
Nodejs

2 min read


Apr 15, 2021

Node.js is still way faster than Deno

Newly released Deno 1.9 promises “Rust-like” performance, still outrun by Node.js — There is no incentive swapping to Deno, especially not from Node.js. Node.js has history and is not exactly a performance beast on its own, but it does have strong support for native add-ons. These can seamlessly augment and boost Node.js to heights way above what is possible with Deno. Above…

Nonsense

3 min read

Node.js is still way faster than Deno
Node.js is still way faster than Deno
Nonsense

3 min read


Feb 3, 2021

Serving 100k requests/second from a fanless Raspberry Pi 4 over Ethernet

A 12x performance boost to Node.js — I recently hooked up my Raspberry Pi 4 to my TV and because I hadn’t benchmarked something in a while I decided to see if I could serve 100k HTTP req/sec from this little thing, over an actual Ethernet cable. I began by installing Ubuntu Server 20.10 …

Raspberry Pi

4 min read

Serving 100k requests/second from a fanless Raspberry Pi 4 over Ethernet
Serving 100k requests/second from a fanless Raspberry Pi 4 over Ethernet
Raspberry Pi

4 min read

uNetworking AB

uNetworking AB

670 Followers

https://github.com/uNetworking

Following
  • Trey Huffine

    Trey Huffine

  • Aure's Notes

    Aure's Notes

  • Hjalmar Peters

    Hjalmar Peters

  • Becky Wicks

    Becky Wicks

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech