Skip to content
GitLab

Lessons from implementing global code search on GitLab.com

Mar 20, 2019Mario de la Ossa7 min read
Opens about.gitlab.com
What the post coversAI, from the source post

This post details efforts to improve Elasticsearch integration for global code search on GitLab.com.

  • Key technical challenges and attempted solutions include reducing Elasticsearch index size by investigating force merges (abandoned due to performance degradation), adjusting Edge NGram sizes for blobs (potential 7-15% savings, pending validation), and exploring separate indexes (no space savings but improved indexing speed).
  • Administration capabilities are being enhanced with better cluster visibility, graceful recovery from indexing failures, selective/progressive indexing, making code indexing optional, and sharding Elasticsearch per group.
Read the full post on about.gitlab.com · 7 min (opens in a new tab)

More from the Performance Optimization trail