Daniel Coulbourne :: Flip the Switch Slowly
summary
A migration strategy uses event sourcing to mirror legacy rows into a new Laravel schema by capturing actions in an events table, replaying them to generate both legacy mirrors and new Eloquent models, and progressively backfilling 50 100 1000 10000 1000000 events while routing 5% then 20% then 95% of traffic via feature flags and Nginx rules. The team builds with verbs (and compares to spatie), tests projections programmatically, runs both systems in parallel for months, then retires the old DB.
AI-written summary · about
chapters (11)
- 0:00Welcome
- 1:25Introducing Thunk and Verbs
- 2:50Legacy code challenges
- 7:51Host O and exam system
- 12:06Event sourcing solution
- 13:50Implementing event sourcing
- 17:46Flipping the switch slowly
- 20:13Chris Morel and Verbs
- 22:19Verbs features and roadmap
- 24:04Event sourcing perspective
- 25:14Q&A
related talks
20mhow to make the management of a league system less traumatic
44mBuilding a complex product while scaling a team and a business on Laravel
30mLegacy to Laravel in 30 minutes
43mLegacy Architecture Migration Patterns with DDD
47mShipping a Replacement Architecture in Elixir
28mMigrating to Laravel: Managing the ick
50mMoving from legacy to event-driven with Kafka
25mData-Driven Migration from Monoliths to Event-Driven Microservices
