I want to test whether Django can handle heavy load requests at once continuously. How to conduct this scenario? using tests?.
Eg:
300 Read requests
300 Write requests
within 1 sec.
You can take any basic ORM query like
User.objects.get(id=`some id)
for 1 request and take this as 300 different read requests. Same for write requests as well but change any field of your choice. Later check if that works for at-least 10 sec.
You can think of this scenario as multiple concurrent users using the Django app.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.