> Add an endpoint with a poorly optimized SQL query: 20 concurrent connections.
Agreed. http-kit use threadpool to compute the response, try to minimize this a little.