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 Elasticsearch configuration & make recommendation #156

Closed lizkrznarich closed 1 year ago

lizkrznarich commented 1 year ago

Service/repository new-deployment

Describe the current state/issue Currently, ROR has 1 Elastic search cluster with 1 node for each env (dev, staging, prod). There is no redundancy in prod, and CPU hits 100% about once per day.

Describe the desired state/solution Research and make a recommendation for changes to Elasticsearch 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

Based on the resources below, recommendations include:

https://www.elastic.co/guide/en/elasticsearch/reference/current/size-your-shards.html https://www.elastic.co/guide/en/elasticsearch/reference/current/tune-for-search-speed.html https://docs.aws.amazon.com/opensearch-service/latest/developerguide/bp.html