3 ms·
It still happens with -k but I haven't tried the other tweaks. I gave up micro benchmarking because once you factor in sessions and database access then everyt
by rartichoke 14y ago
It still happens with -k but I haven't tried the other tweaks.
I gave up micro benchmarking because once you factor in sessions and database access then everything goes in the gutter.
I've had a Go server outperform a Node server (same box, same data, same headers) by 5x when returning large amounts of json or returning large strings in general.
As soon as I had that data get returned by a database instead of hard coded strings using both language's best drivers for that database then the reqs/s evened out, in fact Node ended up performing slightly better for both latency and reqs/s.