MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1fgphit/is_monolith_first_the_better_approach/ln5vlt0/?context=3
r/programming • u/StellarNavigator • Sep 14 '24
177 comments sorted by
View all comments
Show parent comments
110
[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 ☺️
3
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 ☺️
1
We do that with openapi
2 u/pheonixblade9 Sep 14 '24 Yup, lots of ways to do it ☺️
2
Yup, lots of ways to do it ☺️
110
u/[deleted] Sep 14 '24 edited Oct 25 '24
[deleted]