Home » Lab Report for Dream Project

Lab Report for Dream Project

Introduction 

Recently my company has created a website that allows you to search up any product review. The site basically compiles reviews from products all around the world and combines them into one. We have got a major tech billionaire into the company and plan to expect a large user base upon release. The plan of this experiment will be to stress test the website by calculating the maximum number of users it can handle, how the network connection will remain constant, how to constantly be able to withstand users for long periods of time so the systems do not crash and finally, how the runtime of the website affects costs.

Procedure 

  1. The first step of the test is to find an appropriate method of testing. 
  2. After some deliberation in the company we decided to create a program that will emulate a large user base entering the site at once and from there we will start our calculations. 
  3. You have to hire a team of site developers or use the current team you operate in order to direct them in the program the program needs to go and to what variables it needs to test.
  4. Once you start the program it will automatically record values for each increase in server usage and then log them into a spreadsheet.
  5. The program will stop at 99% usage in order to not destroy the system and it will automatically shut off. 
  6. After that the value gets changed into a chart in order to compare the values and see what needs to be fixed.
  7. Once we have the sheet analyzed we are able to sort through different website host providers and compare the prices of each.
  8. After getting the host prices we choose the one that will benefit us the most in the long run of the company.
  9. Once the appropriate site is chosen and data is gathered you can begin to set up for the fixing of your platform.
  10. By using the gathered data you can edit your site to how it handles users and makes sure the site stays constantly online.
  11. Finally you are able to release your site once everything has been agreed upon by the board of directors.

Results

Our program ended up finishing the test successfully and we were able to see the amount of people we will be able to handle. By then graphing that information we were able to see the specific spikes in the server usage. This will help us know which part to work on to make sure we do not get extensive spikes, which will greatly improve user experience. With our results from the program we then also compared different websites which will allow us to host on their platform. After comparing the benefits of each site we realized Amazon AWS will be our best choice. It is hosted on node.js which is a very reliable service. The amazon AWS service is used by many different companies and application startups showing how good it is within this tech space. Finally this site has the best speeds for a relatively good price compared to the amount of users we will be handling. Having all this information we know what to fix upon website release

Data and Calculations 

Conclusion 

In conclusion, the test was successful with our program doing exactly what it had to do. The test made sure to test everything we had and we got to calculate the costs, server runtime, and which specific points there will be heavy loads put on top of the site. With that information we knew what to fix and what to look toward in the future of upgrading the system.  Although we did everything successfully we could have done this way easier by outsourcing some of the work. Outsourcing the work means that you would let another company stress test the site for you and you would then just receive the data. Thai would allow us to use over time more on marketing and business decisions instead of focusing on creating a specific program. Our method was cheaper though and did save us a good amount of money which decreases our costs and can let us improve more things. Overall this experiment was a success and told us exactly what our team is capable of, and we will be able to adapt to anything that comes our way.

References 

Newcomer, C. (2023, April 3). 9 of the best node.js hosting platforms for 2023 (free and paid). CodeinWP. Retrieved April 4, 2023, from https://www.codeinwp.com/blog/best-nodejs-hosting/#gref

Briones, J.-P. (2023, January 10). Stress test website performance. InMotion Hosting Support Center. Retrieved April 4, 2023, from https://www.inmotionhosting.com/support/server/server-usage/how-to-stress-test-your-website/