TLDR Web Dev · ARTICLES & TUTORIALS

INDEXING CODE AT SCALE WITH GLEAN

engineering.fb.com13 min read

Summary from the TLDR Web Dev newsletter

Meta's open-source Glean system indexes code at scale, providing information to various developer tools through a flexible query language. This centralized system avoids redundant indexing on individual developer machines and offers a scalable, distributed architecture for handling large codebases and concurrent queries. Glean's design is language-agnostic and has incremental indexing using a stack of immutable databases to efficiently process code changes.