Technology
Netflix's Quasar tool maps library API changes to affected repositories across its codebase
An internal tool that combines semantic indexing and API analysis helps Netflix understand which repositories depend on specific library code before making changes.
InfoQ
Netflix has created an internal tool called Quasar that traces which repositories throughout its infrastructure actually use specific library APIs, enabling engineering teams to predict the scope of impact before modifying shared code libraries.
The core problem#
Traditional compatibility checks can flag when a method is deleted or its signature changes, but they don't reveal which applications actually call that code. Dependency graphs only show declared requirements, not real usage patterns. Text-based searches miss cases where inheritance, method overloading, or generated code obscure API calls. Rebuilding every downstream application to validate a change becomes prohibitively expensive at Netflix's scale.
How Quasar works#
The tool uses the SCIP Code Intelligence Protocol, an open standard for mapping code symbols and their relationships. Language-specific indexers gather symbol definitions and references during continuous integration builds, storing the data in Amazon S3 as Parquet files. Athena then queries this indexed information.
When a pull request proposes library changes, Quasar compares API definitions between code versions to identify which symbols were added, removed, or modified. It then searches the indexed references to uncover affected repositories, the dependency versions they use, and the exact call locations. In one Netflix example, removing a deprecated method showed impact across 137 repositories spanning three different library versions.
Known limitations#
The absence of indexed references doesn't guarantee an API isn't used elsewhere. Reflection-based calls, dynamically loaded code, stale indexes, and gaps in coverage can hide actual usage. Code that only runs occasionally—such as quarterly batch jobs—may never appear in the indexed sample. Netflix acknowledges these blind spots and is exploring runtime analysis to complement the static evidence gathered by Quasar.
Broader integration#
Quasar complements existing tools like Revapi for API compatibility testing and Kythe for code navigation. It currently supports Java, Go, Python, JavaScript/TypeScript, and Rust through SCIP, with API compatibility checks for JVM code and Protobuf-generated Java. Netflix exposes findings through REST, GraphQL, and a server, enabling both developers and AI agents to access impact data.

