CS6650 Spring 2022 Assignment 4

CS6650 Building Scalable Distributed Systems

CS6650 Spring 2022 Assignment 4

Time to do some reading ….

The first three assignments have focused on writing data from POST requests. Finally, in this assignment, we will do some reading!

You can work on this assignment in groups of up to 3 people.

Step 1 Populate the Databases

We’re going to run assignment 3 to populate your databases. First, empty your databases.

You should then do 3 seperate client runs, as follows:

Step 2 Implement the GET APIs

Use the version of the API here

You need to implement:

Test these with Postman or your fave API testing tool

Step 3 Load test the GETs

In this step you’ll load test the new GET APIs. To generate a load testing client, we’ll use a load generating tool.

Apache JMeter is widely used and straightforward to set up, so this is the recommended tool.

Use JMeter to create test cases. These instructions provide the basics of what you need to do. The basic requirements are as follows. For each of the three GET requests, define a test with a thread group with:

Randomly generate a skierID and dayID for each request.

JMeter produces a bunch of statistics for each run. Experiment and see how low you can get the response times and p99s.

Submission requirements

You’ll present your results in class on April 26th. Plan 5-ish minutes, with a structure as follows:

Also submit your slides and results as pdfs to canvas. You may refine your results and presentation after the presentation if desired.

Grading

JMeter results for all 3 test cases: 20 points Presentation: 10 points

Deadline: April 29th 11.59pm PST