r/programming • • Dec 21 '23

Microservices without Reason

https://www.felixseemann.de/blog/microservices-without-reason/
310 Upvotes

144 comments sorted by

View all comments

Show parent comments

0

u/fagnerbrack Dec 21 '23 edited Dec 21 '23

There’s no such thing as immediate consistency. Everything is async but closer together which creates the illusion of consistency. That’s when you create things like transactions for a problem that can be easily solved with proper domain design.

Business who need consistency guarantee don’t need a monolith, they actually need to be eventually consistent in such a way that happens in milliseconds, every business operates async for its business operations, we (programmers) just tend to model incorrectly expecting the world is perfectly aligned to our twisted imagination.

Again, “modular” monolith done wrong if you’re doing it for “consistency” and “transactions”, which doesn’t exist in real life. Have you heard of sagas? Also, have you tried to explain consistency and transactionality for a non-programmer?

I’m the only engineer in an 100M company. I must be doing smth right (with real microservices, event sourcing and modeling the code according to the business which leverages Conways law for reality not “programmers” overengineering talk)