Company
Date Published
Author
Greg Foster
Word count
2777
Language
English
Hacker News points
None

Summary

Graphite has embraced a monorepo structure using TypeScript to streamline development and maintain quality while scaling their team from 15 to 40 engineers. This approach prioritizes developer velocity by reducing complexity, leveraging functional programming principles, and avoiding microservices in favor of composable modules. The company employs TypeScript for both frontend and backend development, enabling seamless integration and minimizing bugs through shared type definitions validated with Zod. Turbo's intelligent caching accelerates build times, while a single server image simplifies deployment and scaling via AWS ECS. Graphite's infrastructure, defined in Terraform, ensures consistency and ease of modifications, with all changes undergoing code review. This architecture has enabled Graphite to handle millions of requests and ship over 1,000 pull requests per month, emphasizing developer happiness and productivity. The company continues to iterate on its architecture, focusing on simplicity and optimizing the feedback loop between idea and deployed code.