London

June 28–29, 2027

New York

September 15–16, 2026

Berlin

November 9–10, 2026

Updatable repos: Duolingo's journey to a golden path

A real-world story of reducing microservice sprawl by embedding best practices into templates that teams actually want to adopt.

Speakers: Max Blaze

Register or log in to access this video

Create an account to access our free engineering leadership content, free online events and to receive our weekly email newsletter. We will also keep you up to date with LeadDev events.

Register with google

We have linked your account and just need a few more details to complete your registration:

Terms and conditions

 

 

Enter your email address to reset your password.

 

A link has been emailed to you - check your inbox.



Don't have an account? Click here to register
June 02, 2026

Facing fragmented microservices, Duolingo launched a Golden Path to standardize development. By packaging best practices into templates with superior tooling and automated security, adoption followed organically, boosting velocity without mandates while empowering autonomous engineering teams.

After more than a decade of rapid growth, Duolingo’s microservice ecosystem was highly functional, but also highly fragmented. This technical diversity created significant friction, slowing down developer velocity and making consistent security and maintenance a formidable challenge. To address this, we initiated a “Golden Path” project to standardize how services are built and operated, but we immediately confronted a classic dilemma: how to drive adoption across autonomous engineering teams without affecting productivity. The traditional “stick” approach of enforcing mandates from the top-down felt counter to our culture, while a “carrot” approach required genuine value to development teams in order to gain long-term traction. For example, security, while its importance was universally acknowledged in principle, in practice it was often deprioritized by developers focused on shipping features.

Our breakthrough came from realizing that we could use our existing microservice templates as the central place to improve and commit standards, essentially treating repositories as updatable packages. Instead of prescribing standards from the top down, we systematically identified, refined, and codified the best practices and tools that had emerged organically within our engineering culture over the past ten years. We focused on making the Golden Path the path of least resistance by providing superior tooling, faster build and deployment times, and automated security that was seamlessly integrated and provided immediate benefits to existing microservices. This transformed security and cost controls from compliance burdens into free features. By standardizing our most successful homegrown solutions, we achieved widespread adoption not through heavy enforcement, but by offering a tangible competitive advantage that empowers our developers to build faster and more securely.

Key takeaways

  • Top-down mandates can conflict with culture, focus on “carrots” not “sticks”
  • Existing service templates can be treated as updatable packages to embed and evolve standards
  • AI code migration tools work better for what is unique about a service, static tools work better for what is common among services
  • Identify and codify homegrown best practices rather than a brand new set of standards if possible
  • Make the Golden Path the easiest option to drive voluntary, rather than forced adoption