Skip to content

Instantly share code, notes, and snippets.

@HarshadRanganathan
Last active April 4, 2023 15:52
Show Gist options
  • Save HarshadRanganathan/465928592117ed451212932734d9a5e5 to your computer and use it in GitHub Desktop.
Save HarshadRanganathan/465928592117ed451212932734d9a5e5 to your computer and use it in GitHub Desktop.
Notes for Elasticsearch Performance Considerations

☐ Refresh Interval

☐ Hot Shards

Batch Load

☐ Refresh Interval set to 0

☐ Replicas set to 0 and increased post data load

Guidance

  • Maintain odd number of nodes to leverage 3-AZ
  • Cluster size determined by biggest index size
  • Each shard maintain 10-30 GB of data
  • Total shard count (primary shard + replica factor) should be a multiple of data nodes for even distribution
  • For small indexes, keep single primary shard and increase replica count to ensure faster response (i.e. all nodes have shard data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment