ror-community / ror-roadmap

Central information about what is happening at ROR and how to contribute feedback
10 stars 1 forks source link

API scalability: Analyze ECS and ALB configuration & make recommendation #157

Closed lizkrznarich closed 1 year ago

lizkrznarich commented 1 year ago

Service/repository new-deployment

Describe the current state/issue Currently, ROR has 2 container instances running the API app in prod and 1 each in staging and dev. Each env has 1 ALB handling requests to the container(s). There is no auto-scaling to increase the number of container instances or ALBs. While ALB and app CPU capacity appear to be less of a bottleneck during peak usage than Elasticsearch CPU, increased resourcing during peak usage would likely help to prevent any issues in the future.

Describe the desired state/solution Research and make a recommendation for changes to ECS and ALB configuration to add redundancy and scale resourcing horizontally. Related to roadmap item https://github.com/ror-community/ror-roadmap/issues/124

Additional notes

lizkrznarich commented 1 year ago