Skip to content

Instantly share code, notes, and snippets.

@faermanj
Last active August 31, 2018 17:19
Show Gist options
  • Save faermanj/43f0fcc932c1545c36cec60de32e9bb2 to your computer and use it in GitHub Desktop.
Save faermanj/43f0fcc932c1545c36cec60de32e9bb2 to your computer and use it in GitHub Desktop.
Load Testing for Serverless

REL 3 How does your system adapt to changes in demand?

The USE Method

"How does your system adapt"

  • percentiles (50%, 95%, 99%, 99.9%, ..., 100%)
  • errors (4xx,5xx)
  • mean and stdev

"changes in demand"

rampUsers(X) over (600 seconds)

"instances vs. functions"

  • code management
  • memory model

Reports

RAMP="-Dusers=1200 -Dramp=600"

sls128: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/140348/loadtestingsls-1535713365808/index.html

sls512: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/140348/loadtestingsls-1535713978191/index.html

sls3008: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/140348/loadtestingsls-1535714589636/index.html

ebt2micro: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/140348/loadtestingsls-1535715201893/index.html

ebt2large: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/140348/loadtestingsls-1535715813774/index.html

ebc518xlarge: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/140348/loadtestingsls-1535716425878/index.html

RAMP="-Dusers=10000 -Dramp=600"

sls128: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/164457/loadtestingsls-1535730211509/index.html

sls512: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/164457/loadtestingsls-1535730828336/index.html

sls3008: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/164457/loadtestingsls-1535731443822/index.html

ebt2micro: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/164457/loadtestingsls-1535732059651/index.html

ebt2large: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/164457/loadtestingsls-1535732675990/index.html

ebc518xlarge: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/164457/loadtestingsls-1535733292294/index.html

RAMP="-Dusers=50000 -Dramp=600"

sls128: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/users50k/loadtestingsls-1535722915999/index.html

sls512: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/users50k/loadtestingsls-1535723535883/index.html

sls3008: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/users50k/loadtestingsls-1535724155368/index.html

ebt2micro: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/users50k/loadtestingsls-1535724774430/index.html

ebt2large: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/users50k/loadtestingsls-1535725405082/index.html

ebc518xlarge: https://s3.amazonaws.com/sitting-ducks-codebuild/gatling/users50k/loadtestingsls-1535726037201/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment