News for hackers. Stuff that matters.
Re:Go performance from version 1.2 to 1.18 by adev_ on Friday February 04, 2022 @01:30AM (#30203522)
> billions of requests per day with C#/.NET which rivaled other stacks, including C++

Ok let's say 2 billions per day.

Meaning 2'000'000 / 24 / 3600 ~= 24Kreq/s

That's nothing, you can probably even do that with python.

On any modern machine, Optimized native code like C++/Rust could handle millions per second without blinking an eye if done properly.

Re:Go performance from version 1.2 to 1.18 by manigandham on Friday February 04, 2022 @01:58AM (#30203655)
Millions-per-second of what? That's a serious load for any stack and depends on far more than just the language.

And it can also be done by other stacks as clearly seen in the TechEmpower benchmarks. Here's .NET and Java doing 7 million HTTP requests/second and maxing out the network card throughput: https://www.techempower.com/benchmarks/#section=data-r20&hw=...

Re:Go performance from version 1.2 to 1.18 by dmitriid on Friday February 04, 2022 @01:37AM (#30203549)
> Optimized native like C++/Rust could handle millions per second without blinking an eye

Keyword: optimized. Almost anything we have now would handle as much as "native optimized".

And no, neither C++ nor Rust would handle millions (multiple) without blinking because the underlying OS wouldn't let you without some heavy, heavy optimizations at the OS layer.

Re:Go performance from version 1.2 to 1.18 by pjmlp on Friday February 04, 2022 @02:19AM (#30203770)
Bing runs on .NET, just as most of Azure, while Amazon on Java, I think they can handle the load.