2 ms·
It's not "nothing to do with". You're correct that a monolithic architecture does not imply that a single read query will lock the entire database. But it is
by Dylan16807 7y ago
It's not "nothing to do with". You're correct that a monolithic architecture does not imply that a single read query will lock the entire database. But it is a prerequisite.
- hn_throwaway_99 7y agoNot really. I've seen more than one microservice-architected (admittedly, poorly) systems where, instead of the whole DB freezing up, just the one DB would freeze, but then all of the other microservices that talked to the frozen microservice didn't correctly handle the error responses, so now you had corruption strewn over multiple databases and services. So, while true the failure mode would be different, "one bad query fucking up your entire system" is just as possible with microservices.