项目作者: dubeyrupesh

项目描述 :
This project aims at doing performance testing of AWS Kinesis stream
高级语言: Scala
项目地址: git://github.com/dubeyrupesh/Gatling-Kinesis.git
创建时间: 2017-05-03T00:32:26Z
项目社区:https://github.com/dubeyrupesh/Gatling-Kinesis

开源协议:

下载


Gatling-Kinesis

This project aims at doing performance testing of AWS Kinesis stream
using Gatling

Currently it allows you to putRecords in your kinesis Stream via Gatling.

A typical Kinesis Test will look like the following :
Alt text

ToDo List:

  1. Create a documentation page for contribution
  2. Create a sample terraform script so to provision Kinesis and Lambda so that examples can be more concrete

Requirement

  1. SBT
  2. AWS_CLI
  3. SCALA

This project uses SBT 0.13.15, which is available here.

LogIn to AWS_CLI

  1. aws-adfs login --profile default --adfs-host <Your Host> --region <region>

Start SBT

  1. $ sbt

Run all simulations

  1. > gatling:test

Run a single simulation

  1. > gatling:testOnly PutRecordsInKinesisStream

Passing commandLine Arguments

More on Passing command line arguments can be found here

How to Interpret Results:

I would highly recommend using the combination of the following tools to monitor all aspects of performance metrics:

  1. Gatling detailed reports. Intergrate with your pipeline
    Jenkins Integration
  2. Create dashboard in AWS cloud watch for Kinesis and Lambda
    1. Kinesis - PutRecords.Records , PutRecords.Latency , PutRecords.Success
    2. Kinesis - GetRecords.IteratorAgeMilliseconds, GetRecords.Latency, IncomingRecords
    3. Lambda- Invocations, Duration, Throttles , IteratorAge
      Dash board
      AWS has a very detailed and well written document :
    4. Kinesis Metrics
    5. Lambda Metrics
      1. AWS-XRAY . Documentation here