| ▲ | rfgplk 4 hours ago | |
Yep, me. In fact, I wrote a whole netstack in C++, meaning everything from opening sockets to the web server to the tls crypto code to the sse/middleware layer of the framework. Quite literally, there is _ZERO_ externally used third-party code anywhere in the netpath. Performance is amazing, I can serve effectively ~600k full HTTPS requests per second on a single Skylake core. | ||
| ▲ | lukaslalinsky 2 hours ago | parent [-] | |
How fast does it go when you do a few PostgreSQL queries per request? Look at https://www.http-arena.com/. For raw throughput on keep-alive requests, low-level languages are going to win without a question. But once you put database roundtrip into the mix, the distance gets much smaller. And I'm saying this as an author of another HTTP server in a low-level language. | ||