Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change search indexing to use batches to minimize resource usage #18451

Merged
merged 1 commit into from
May 18, 2022

Conversation

Gargron
Copy link
Member

@Gargron Gargron commented May 17, 2022

According to Elastic, frequent document updates should be avoided to minimize CPU utilization of Elasticsearch. The new strategy bundles updates into batches every 5 minutes.

@Gargron Gargron force-pushed the fix-elasticsearch-indexing-perf branch from 825e65c to e4176f2 Compare May 17, 2022 21:52
@Gargron Gargron changed the title Fix search indexing performance Change search indexing to use batches to minimize resource usage May 17, 2022
@Gargron Gargron force-pushed the fix-elasticsearch-indexing-perf branch from e4176f2 to 9b22c1e Compare May 18, 2022 19:42
@Gargron Gargron merged commit 679b715 into main May 18, 2022
@Gargron Gargron deleted the fix-elasticsearch-indexing-perf branch May 18, 2022 21:29
kadoshita pushed a commit to kadoshita/mastodon that referenced this pull request May 27, 2022
ClearlyClaire pushed a commit to ClearlyClaire/mastodon that referenced this pull request Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants