opened
szmarczak
username_0
How does this compare to the [Techempower Benchmark](https://www.techempower.com/benchmarks/)? It's kinda hard to believe the benchmarks you have provided - the source code is incomplete (it lacks code for other HTTP libs).
Techempower Benchmark
issue
created
alexhultman
username_1
Please explain, I don't get what you're trying to say. There's no source code specific to any one server, they all share the same exact benchmarking code - the standard wrk tool using default settings.
comment
created
szmarczak
username_0
Have tried out [autocannon](https://github.com/mcollina/autocannon)? For me it provides more load than `wrk` (about 20k+ more requests when testing Node).

Looking back at my first question, I'm really curious how `uws` compares to the Techempower Benchmark.
It would be nice to see it there.
comment
created
alexhultman
username_1
This project is not a database or a json serializer.

So it makes little sense to benchmark it as if. Besides, TechEmpower cannot properly benchmark high end server software, the top 13 are all separated by nothing but noise. They are all capped by IO.

Further on TechEmpower do not properly normalize CPU-time, leading to majorly invalid results where single threaded servers are compared with multithreaded ones, etc.

In short TechEmpower is really not a good benchmark. I do my own tests and if they are not enough then do your own tests.

This project is not in a phase where it needs to prove anything regarding performance. It's pretty much a well known fact by now.

I have an upcoming article benchmarking 1 million websockets on a laptop over WiFi. That's the kind of stuff I do.
comment
created
ddevienne
username_2
If you don't mind, could you please post your article in this thread or your main project page?
Also, for reference, a recent "1 million websockets" in Go: https://github.com/eranyanay/1m-go-websockets
I'm eager to read your article!
comment
created
szmarczak
username_0
Well, you haven't convinced me. Because you say so it doesn't mean it is.
comment
created
alexhultman
username_1
I don't need to convince you. You can pay me xxx USD an hour and I will try my hardest. Otherwise, not interested.
comment
created
alexhultman
username_1
Published here https://medium.com/@username_1/millions-of-active-websockets-with-node-js-7dc575746a01
comment
closed
alexhultman
username_1
issue
created
szmarczak
username_0
Why did you use `--max-old-space-size=8192` while the app used only 0.5GB? `1024` should be enough in that case.
comment
created
alexhultman
username_1
The point being made is you can't do the same with other libs. That process was well over 4 GB
comment