Answer the question
In order to leave comments, you need to log in
How to test the maximum load of a web application?
Developed a web application (a system for conducting city quests), and the second year, I and several other event organizers use it. Normal load - 25-30 users at the same time.
Now there is an order for an event for 3,000 people.
Now the application is on a VPS (RAM 512 MB, CPU 2000 MHz, CPU cores - 1)
Runs on PHP, SQLITE is used as a database.
In what ways can you evaluate whether the application will "pull" or not such a number of users at the same time?
How are tests done to find weaknesses in the system?
Answer the question
In order to leave comments, you need to log in
If it will be 3000 people at the same time, then most likely (it’s hard to say without studying the application) you need a large and iron dedicated server with ssd, renting such a server (at least for 1 month) can be expensive, but the fee is fixed, while in the cloud it can wind up loads for a lot of money.
Use the tools that Victor Ablebeam advised , the testing algorithm usually looks something like this:
1 make templates that imitate user actions
2 set up monitoring of the VPS server
3 test
4 study the results
5 optimize the application and / or buy more power
6 if necessary, repeat points 3, 4, 5.
apache-utils ab
jmeter
Yandex.tank
In general, often everything depends on the application itself (what type of processes, what type of requests...).
Start with the simplest:ab -n 3000 -c 100 http://site.com/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question