3 ms·
That's completely orthogonal to microservices, though. Having your modules communicate to each other via function calls does not make them significantly less mo
by TheCoelacanth 9y ago
That's completely orthogonal to microservices, though. Having your modules communicate to each other via function calls does not make them significantly less modular than having them communicate to each other via network requests, but it removes a lot of complexity in serialization and network protocols.
- humanrebar 9y agoTechnically you're right. Practically, though, putting some code in one process and some in another helps you leverage Conway's Law to make lazy, rushed, or untrained developers respect the intended separations in your designs. You won't just jam another getter in that Singleton if that Singleton is in another process.
- TheCoelacanth 9y agoIt can work the opposite way just as easily. Code that should go in one microservice ends up in a different one because the developer is rushed and doesn't want to go to the extra work of changing multiple services.