aws-community-projects / aws-community-projects.github.io

https://aws-community-projects.org
3 stars 0 forks source link

Serverless Benchmarks #1

Open elthrasher opened 2 years ago

elthrasher commented 2 years ago

A suite of tests that benchmark the same functionality with different architecture or technology choices (i.e. HTTP API vs REST API, Java vs Python, different SDK versions).

The goal of this is to assist developers to make technology choices.

Further Context

Volunteers

@elthrasher @JonHolman

elthrasher commented 2 years ago

I was rethinking this project a little and came up with a new architecture to support multiple Lambda functions and API Gateway invocations.

Serverless Benchmarks drawio

When it comes to metrics collections, it also makes sense to keep a running total maybe with indicators going up and down.

Should x-ray instrumentation be optional? Leaving that off for now, but it might be nice to be able to see if x-ray impacts performance and how much.

JonHolman commented 2 years ago

@elthrasher like I was saying in our chat. The data for whatever exercise we're going to have the lambda function act on in its test will need to be delivered as a part of the payload, so the API Gateway service proxy to DynamoDB use case can be tested.