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 :
- Create a documentation page for contribution
- Create a sample terraform script so to provision Kinesis and Lambda so that examples can be more concrete
- SBT
- AWS_CLI
- SCALA
This project uses SBT 0.13.15, which is available here.
aws-adfs login --profile default --adfs-host <Your Host> --region <region>
$ sbt
> gatling:test
> gatling:testOnly PutRecordsInKinesisStream
More on Passing command line arguments can be found here
I would highly recommend using the combination of the following tools to monitor all aspects of performance metrics:
- Gatling detailed reports. Intergrate with your pipeline
- Create dashboard in AWS cloud watch for Kinesis and Lambda
- Kinesis - PutRecords.Records , PutRecords.Latency , PutRecords.Success
- Kinesis - GetRecords.IteratorAgeMilliseconds, GetRecords.Latency, IncomingRecords
- Lambda- Invocations, Duration, Throttles , IteratorAge AWS has a very detailed and well written document :
- Kinesis Metrics
- Lambda Metrics
- AWS-XRAY . Documentation here