Trunk-Based Development at Scale: Real-World Insights from a High-Traffic Luxury E-Commerce Platform
A high-traffic e-commerce platform commits directly to main. Discover their secret to high-velocity development without breaking production.
#1about 2 minutes
Defining trunk-based development and straight to production
Trunk-based development is a branching model where developers commit small, frequent changes directly to a single main branch that deploys automatically.
#2about 2 minutes
Understanding the core principles of trunk-based development
Successful trunk-based development relies on small frequent commits, robust continuous integration, and feature toggles to hide incomplete work from users.
#3about 5 minutes
Shifting from a "my code" to an "our code" culture
Unlike feature branching which leads to merge conflicts and delayed feedback, trunk-based development fosters a collaborative culture through pair programming and real-time feedback.
#4about 1 minute
Calculating the high financial cost of production downtime
Breaking down yearly revenue to per-minute losses highlights the significant financial risk of pushing breaking changes to a high-traffic production environment.
#5about 2 minutes
Building a testing foundation with unit tests
The testing pyramid's base layer consists of fast, easy-to-write unit tests and static linting to catch issues early for every line of code.
#6about 2 minutes
Ensuring API and service stability with integration tests
The middle of the testing pyramid uses integration tests, contract tests for APIs, and load tests to prevent performance regressions and breaking changes between services.
#7about 4 minutes
Verifying the user interface with automated UI tests
The top of the testing pyramid includes visual regression tests to catch unintended style changes and end-to-end tests to validate critical user flows.
#8about 3 minutes
Integrating performance, accessibility, and security tests
A comprehensive testing strategy includes automated Lighthouse checks for performance and accessibility compliance, alongside periodic security and penetration testing.
#9about 2 minutes
A practical guide to adopting trunk-based development
Teams can transition to trunk-based development by auditing branch lifetimes, enforcing smaller pull requests, introducing feature flags, and fostering a strong review culture.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
04:11 MIN
Adopting trunk-based development and continuous delivery
100 times more frequent deployments: How did we create a high performance team?
08:15 MIN
Q&A: Motivating teams for trunk-based development
100 times more frequent deployments: How did we create a high performance team?
05:15 MIN
Applying TDD, CI/CD, DevOps, and SAFe at scale
Agile work at CARIAD – Creating a customer web application for controlling the vehicle
05:28 MIN
Designing a future state with automated regression testing
Charting the Journey to Continuous Deployment with a Value Stream Map
03:53 MIN
Convincing management to invest in test-driven development
TDD for Vue.js Developers
08:48 MIN
Audience Q&A on testing strategies
Yes, You Need to Unit Test your JavaScript. Here's How.
Dev Digest 125 - Duck and CoverThis issue was written live at the WeAreDevelopers World Congress in Berlin with us being incredibly busy, but this shouldn't mean you don't get some hot resources. News and ArticlesLet's start with AI news: Google and Microsoft consume more power th...
Daniel Cranney
How software is steering vehicle technologyThe automotive industry is entering a transformative era, and developers have a unique opportunity to be part of it. Cars are no longer just mechanical machines; they’re sophisticated tech platforms with software at their core. This shift, defined by...
Chris Heilmann
WWC24 Talk - Brenda Romero - Stay: Surviving and Thriving in TechBrenda Romero discusses her tech career journey, overcoming burnout, and inspiring future game developers at WWC24.Here is what she had to say in the video:Hey everyone! Thanks for joining us!Reflections on a Rough YearLast year, I gave a talk about ...