by 0xbadcafebee · 3y ago · 0 comments
1. Start the monolithic app
2. Write internal classes and functions such that they mimic an independent API and schema
3. Write an API wrapper around unique functionality
4. Allow exposing APIs on unique service ports
5. Run independent copies of your app, running one API at a time
6. Separate the schema of each API into its own database and connect at runtime
7. Now you have a microserviceVery quick talk on what it buys you: https://www.destroyallsoftware.com/talks/boundaries
PSA: Microservices architecture is a technique for scaling organizations, not systems.