Scaling Vinted: A System That Never Stands Still
summary
Vinted documents moving from a Rails monolith on MySQL to sharded MySQL with Vitess, then modularized in-place and split into coarse-grained services with enforced functional sharding and strict data ownership. Event-driven projections run through Kafka with an event store built on Apache Flink and Iceberg to seed local databases, enabling edge read sites that already handle ~10–15% of peak traffic on five machines. Ongoing work tackles distributed writes, consistency tradeoffs, and new storage needs.
AI-written summary · about
chapters (18)
- 0:00🚀 Build Stuff Conference – Get Your Tickets!
- 0:22Introduction: Scaling Vinted From App to Distributed Marketplace
- 2:10Vinted’s Mission, Business Scope, and Engineering Scale
- 4:15Core Foundations: On-Prem Infrastructure and Technical Control
- 6:20Ruby on Rails, MySQL, and Adopting Vitess for Database Scaling
- 8:35Continuous Delivery, SRE Mindset, and Reliability as a First-Class Citizen
- 10:45Rapid Growth Across Europe and the Limits of the Shared Codebase
- 13:20Why Hiring More Engineers Didn’t Solve the Architecture Bottleneck
- 15:05Breaking Up the Monolith: Modularization as the First Step
- 18:10Facades, Rails Modules, and Architectural Fitness Functions
- 20:50Early Wins, Developer Friction, and Hidden Complexity in the Monolith
- 23:15Rising Traffic Peaks, Bigger Incidents, and the Need for Service Isolation
- 25:05Moving to Coarse-Grained Services Without Falling Into Microservice Chaos
- 27:10The Real Bottleneck: Shared Database Coupling and the Cost of Slow Queries
- 28:50Functional Shards, Data Ownership, and Database Boundary Enforcement
- 30:40Preparing for Global Scale: Edge Sites, Latency, and Speed of Light Constraints
- 32:20API Gateway Design, Global Routing, and Read-Only Edge Architecture
- 34:00Future Challenges: Distributed Writes, Consistency Tradeoffs, and New Storage Needs
related talks
46mScaling YouTube's Backend: The Vitess Trade-offs
37mSharding: Growing Systems from Node-scale to Planet-scale
52mTaking Storage for a Ride
50mImmutable Values in the Big Wide World
02h 18mDistributed Systems: In the Daily Life of the Data Engineer
34mShared Nothing Architecture - How to Scale to Infinity
32mData @Scale Seattle- Eric Hwang introduced by Ganapathy Krishnamoorthy
51mScaling yout Architecture with Services and Events
