Performance Load Testing/Reports

Was just curious I have about 50+ people now in my beta test and wasn’t sure if there is some data or anything I can look at for load/etc to see what type of response times people are getting or if anyone had any suggestions around this. Specifically around the Anvil platform and such.

I’m building out my admin panel to include user signups and the like but was also going to see while I had a lot of active users if there was any type of reporting I could do to get an idea of my load and response times as I add more users.

Thanks for any info/suggestions anyone might have.

A simple solution would be to sprinkle your app with datetime.now(), store the times in a global variable, and persist them to the database every so often.

If you want to perform your own load testing, there are lots of services out there.

If you want to roll your own (for free, but costing effort), a couple of useful tools are:

  • Locust: A load test runner that runs the same test in parallel for an arbitrary number of simulated users
  • Selenium, which simulates a user’s interaction with a website (you can instruct it to click on links, wait for an element to appear, etc.). It has a Python binding.

Cool thanks I haven’t had to load test a app like this before so wasn’t sure if one was better than the other for anvil.

I’ll take a look at these, thanks