Upgrade to Pro — share decks privately, control downloads, hide ads and more …

サーバレス時代の負荷テスト戦略 / Load testing strategy for serverless

g-awa
January 22, 2020

サーバレス時代の負荷テスト戦略 / Load testing strategy for serverless

g-awa

January 22, 2020
Tweet

More Decks by g-awa

Other Decks in Technology

Transcript

  1. App

  2. EC2 EC2 EC2 EC2 EC2 EC2 EC2 EC2 EC2 EC2

    EC2 EC2 EC2 EC2 App r4.large × 15 Master
  3. install deploy invoke remove serverless-artillery $ npm install -g serverless-artillery

    $ slsart deploy —stage dev $ slsart invoke —stage dev $ slsart remove
  4. App ⚡Serverless Artillery⚡ get /todos get /todos/{{ id }} put

    /todos/{{ id }} post /todos/{{ id }} delete /todos/{{ id }} TODOリスト アプリケーション https://github.com/serverless/examples/tree/master/aws-node-rest-api-with-dynamodb-and-offline
  5. Lambda (cron) GetServiceGraph API Slack AWS X-Ray ALERT 監視 Response

    time 4xx (error) 429 (throttling) 5xx (failure)