2 ms·
If speed is essential you'd use C++. But you could use Java too. There are useful benchmarks of server frameworks here: https://www.techempower.com/benchmarks/
by mike_hearn 10y ago
If speed is essential you'd use C++. But you could use Java too. There are useful benchmarks of server frameworks here:
https://www.techempower.com/benchmarks/ https://www.techempower.com/benchmarks/
As you can see the top frameworks are all C++ or Java. A Java servlet based framework clocks in 3rd with 178k/sec. Go's first entry is at 10th place with 141k/sec.
The next time go appears it's the "kami" framework with just 58k/sec - slower than nodejs!