Answer the question
In order to leave comments, you need to log in
How to load test a server?
Good afternoon, there is a client (game) and a server written in python using tornado websockets.
How can I test the server under load? For example 500 simultaneous connections (fake users).
Answer the question
In order to leave comments, you need to log in
On another powerful machine (rent a trial period), write a parser that will crawl into your site and do some actions. Spawn 500 threads.
In Python, you can get by with threads and processes. a couple of processes to go to different cores and threads (threads of soup requests seem to be - they simultaneously work as threads) using the thread module in its classic use of parallel threads will not.
You can run two or three of these machines at the same time and test.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question