North-Seattle-College / ad440-winter2021-thursday-repo

NSC AD 440 Winter 2021 Thursday cohort practicum repo
Apache License 2.0
2 stars 27 forks source link

[Task] Using Serverless Artillery 40 requests without cache /users/{userId}/tasks/{task_id} #298

Open Kemet2016 opened 3 years ago

Kemet2016 commented 3 years ago

Is your feature request related to a problem? Please describe. Using Serverless artillery 40 requests to test the API Users/UserId/tasks/{task_Id}.

Describe the solution you'd like 1- Deploy the function

2- Invoke the test function

This is the result of the serverless-artillery-test without cache for users/{userId}/tasks/{taskId}

Input Info Time
Invoking test Lambda timestamp 2021-03-24T03:06:34.518Z scenariosCreated 5 scenariosCompleted 5 requestsCompleted 5
latency
__ min 49.9
__ max 94.6
__ median 50.9
__ p95 94.6
__ p99 94.6
rps
__ count 5,
__ mean 1.15
scenarioDuration
__ min 82.7,
__ max 316.7,
__ median 111.5,
__ p95 316.7,
__ p99 316.7
scenarioCounts
__ 0 5
errors
__ codes
__ 200 5
matches 0
__ `customStats {}
phases
__ duration 5,
__ arrivalRate 1

Your function invocation has completed.

Test Results of slsart-test of the endpoints /users/{userId}/tasks/{taskId} without cache:

ahmed-result.json.zip

Time Spent

DATE ACTIVITY TIME
03/20/2021 Research how to do slsart-test for users 45 minutes
03/23/2021 Test slsart-users endpoint with and without Cache to see difference ~ 1hr