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

NSC AD 440 Winter 2021 Tuesday cohort practicum repo
Apache License 2.0
4 stars 22 forks source link

Using Serverless Artillery 40 requests with cache /users/{userId}/tasks (NO PR) #346

Closed Pabriones closed 3 years ago

Pabriones commented 3 years ago

Using Serverless Artillery 40 requests with cache /users/{userId}/tasks (NO PR)

Pabriones commented 3 years ago
Date Activity Time
03/20/2021 Asking questions from other teams and other research 2.5 hours
03/22/2021 Running test and documenting result 2.5 hours
Pabriones commented 3 years ago

Instruction using Serverless Artillery 40 request with cache for /users/{userId}/tasks

Turning on Cache

Once the cache is turned on, you are ready for testing 🤘

Running Test

1. Setup AWS credentials

In Linux

$ export AWS_ACCESS_KEY_ID=<access-key-id>
$ export AWS_SECRET_ACCESS_KEY=<secret-access-key>
$ export AWS_SESSION_TOKEN=<session-token>

In windows

$ set AWS_ACCESS_KEY_ID=<access-key-id>
$ set AWS_SECRET_ACCESS_KEY=<secret-access-key>
$ set AWS_SESSION_TOKEN=<session-token>

2. Create custom deployment assets

3. Deploy

4. Invoke

5. Remove