Closed CCint3 closed 5 months ago
AsyncHttpServer server = new AsyncHttpServer(); server.get("/", new HttpServerRequestCallback() { @Override public void onRequest(AsyncHttpServerRequest request, AsyncHttpServerResponse response) { Thread.currentThread().getId(); response.send("Hello!!!"); } }); server.listen(5000);
The above code is single threaded. How to support multi-threading and high concurrency?
same question
same question, is there anyone who already has a solution ?
can use jetty or netty instead.
The above code is single threaded. How to support multi-threading and high concurrency?