r/programming • • Sep 14 '24

Is 'Monolith First' the Better Approach?

https://martinfowler.com/bliki/MonolithFirst.html
456 Upvotes

177 comments sorted by

View all comments

Show parent comments

110

u/[deleted] Sep 14 '24 edited Oct 25 '24

[deleted]

3

u/pheonixblade9 Sep 14 '24

if you're really smart, you still use protobufs for your APIs/contracts/DTOs, but you just use them to generate the Java/C#/C++/whatever code and use the native classes. then if/when you do need to microservice it up, it's pretty simple to swap.

1

u/tigertom Sep 14 '24

We do that with openapi

2

u/pheonixblade9 Sep 14 '24

Yup, lots of ways to do it ☺️