libp2p-test-plans/perf/terraform/configs
Max Inden fd1889fedb
feat(perf): use m5.xlarge (#284)
Instead of `m5n.8xlarge`, use `m5.xlarge`.

Rational:
- Closer to real-world libp2p deployments (e.g. < 25 Gibps)
- Cheaper (~2 USD vs ~0.2 USD)

m5n.8xlarge:
- 32 vCPUs
- 128.0 GiB of memory
- 25 Gibps of bandwidth - 2019

m5.xlarge
- 4 vCPUs
- 16.0 GiB of memory
- up to 10 Gibps of bandwidth
2023-09-01 19:55:45 +02:00
..
local feat(perf): use m5.xlarge (#284) 2023-09-01 19:55:45 +02:00
remote fix(perf): increase maximum udp send buffer size (#254) 2023-08-14 16:08:41 +02:00
README.md feat(perf): add (automation, provision, build, run) tooling (#184) 2023-06-22 13:54:09 +02:00

README.md

Configs

The terraform configs defined in this directory are used to provision the infrastructure for the libp2p perf tests.

The configs are named after the type of backend they use. The defaults for what parts of infrastructure they provision differ between the two.

local

Terraform state in this configuration will be stored locally. The defaults are configured for a single performance benchmark run, i.e. terraform apply will bring up short-lived infrastructure only. It will skip long-lived infrastructure like the clean-up Lambda and the instance launch template.

remote

Terraform state here will be stored remotely in an S3 bucket. terraform apply will only bring up the long-lived infrastructure needed to run the performance benchmarks It will skip short-lived infrastructure like launching EC2 instances.