All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

How Twitch Scaled a Million-Line TypeScript Codebase Across 300 Engineers

By

joshribakoff

4mo ago· 3 min readenInsight

Summary

An engineering leader at Twitch describes how their team managed a million-line TypeScript monorepo used by 300 developers. The article focuses on the engineering standards and practices implemented to scale the codebase, including performance constraints, architectural patterns, TypeScript usage guidelines, tests, and lint rules. It notes that the challenges were not about TypeScript itself, and that the TypeScript team helped them use the language more effectively.

Key quotes

· 3 pulled
These weren't preferences — they were the mechanisms that allowed a million-line monolithic codebase to scale across 300 developers shipping code in a fast-moving environment.
This isn't a critique of TypeScript. The TypeScript team actually took time to meet with us and help us use the language more effectively.
The challenges I'm describing weren't about the tools themselves — they were about...
Snippet from the RSS feed
At Twitch, my team’s charter was to define and maintain core engineering standards: performance constraints, architectural patterns, TypeScript usage, tests, and lint rules. These weren’t preferences — they were the mechanisms that allowed a million-line

You might also wanna read