DEV Community

Discussion on: Getting Into Microservices? Don't Build a Spaghetti Monster.

Collapse
 
markoa profile image
Marko Anastasov

Thanks for the question. I haven’t seen a simpler way, and the approach works for both monoliths and microservices.

  1. Write and deploy code that works with both old and new schema.
  2. Write and deploy migrations.
  3. Remove code that works with old version.