/scalable-ecs-fargate

Scalable AWS ECS Fargate using Apollo Server as an example

Primary LanguageJavaScript

Scalable AWS ECS Fargate using Apollo Server as an example

HOWTO

  • If you want to test on the Premises, you can using docker-compose to run it.
  • Using Cloudformation Fargate Cluster to create stack.

Architecture

Scalable ECS Fargate

Load testing with Apache Benchmark

  • Populate data.txt with
{"query":"{ books { title } }"}
  • Run the test
ab -v 3 -n 10000 -c 10 -T 'application/json' -p data.txt ${ALB DNS}

Reference