|
|
|
|
|
by BenoitEssiambre
268 days ago
|
|
I'll agree that the network layer adds more problems to microservices, but even with a perfect network, they are problematic. Everything being out of sync, (if they are stateful microservices which queues imply), is one big issue. Things being interconnected in broad global scopes instead of more locally scoped is the other big issue. The more you have globally interconnected and out of sync states, the less predictable your system is. The solution is to be as hierarchical, as tightly scoped, as functional and as transactional as you can. That's how you tackle complexity and create intelligent systems: https://benoitessiambre.com/entropy.html |
|
You can make asynchronous code predictable if you utilize something like TLA+, or treat the code as a protocol system.