Last week, I made little progress because of the Interim Demo. I worked on creating a testing framework for the website using Locust, a python-based load generator. With Locust, I can vary the number of users and control RPS (Requests per second), which allows me to test for the saturation point of our website. By requesting our website’s latest data continuously, we are able to stress the database and the backend at the same time. I haven’t yet figured out how many users to spawn, and what other website points to stress test, but testing the website has started. Below is a screenshot of the data Locust is able to show us. The jump in RPS from 200 to 400 is when I increased the number of users from 200 to 400. We can see that the purple line remains relatively stable, meaning saturation has not been reached yet. I will keep testing to find this point. I also need to test the data upload side, simulating hundreds of bicycles uploading at the same time.

We want to make sure that the website data upload happens within 30 seconds. We want to make sure that the website database download happens at an acceptable time, within 10 seconds.

Next is testing the website user-friendliness. I will have to recruit strangers to look at my website. I can do this by soliciting or asking friends.

My progress is slightly behind, I need to get the cellular working soon, as well as testing the website comprehensively.

To get back on track, I will have to take more time next week to work.


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *