How to configure highly concurrent servers with tornado

Hello, everyone. I use tornado to do a service today, which requires high concurrency ability. According to the official tornado, I configure the startup server
sockets = tornado.netutil.bind_sockets (8888)
tornado.process.fork_processes (0)
server = HTTPServer (app)
server.add_sockets (sockets)
ioloop.IOLoop.instance (). Start ()

then test it after startup, and the concurrency capacity is only about 100 concurrency per second. I ran the method alone with cprofile and found that the execution speed of the interface method is not slow, so here is that the concurrency ability of the web server is not good. Although nginx can be used as a reverse proxy to improve concurrency. But is there tornado"s own way to improve performance? By the way, all my interfaces are done in asynchronous collaboration mode. So ask the great god for advice on how to improve the concurrency ability of the tornado server. Thank you

I want a single server to achieve 1w concurrency per second

Dec.31,2021
Menu