This repository contains a simple performance comparison between Express and Standard AWS Step Functions.
The purpose of this project is to demonstrate and analyze the performance differences between Express and Standard Step Functions in AWS. It provides a straightforward way to invoke both types of state machines and visualize their execution times.
- Invokes both Express and Standard Step Functions
- Collects execution duration data
- Displays results in a bar chart for easy comparison
- Automatically refreshes data every 5 seconds
This project is built using:
- Next.js for the frontend
- AWS Lambda for backend operations
- AWS Step Functions (both Express and Standard types)
- Chart.js for data visualization
- SST (Serverless Stack) for local development and deployment
- Clone this repository
- Install dependencies with
pnpm install
- Ensure you have AWS credentials configured on your machine
- Start the local development environment with
npx sst dev
- Open http://localhost:3000 in your browser
The results for Express executions are queried via AWS CloudWatch Log Insights and may take some time to display due to potential delays in log processing.
SST V3 allows you to develop and test your serverless application locally, providing a seamless experience between local development and AWS deployment.