4 ms·
You can still have isolation of responibilities between modules, like "this module only reads and writes to that database schema". Modules combined with appropi
by progre 6y ago
You can still have isolation of responibilities between modules, like "this module only reads and writes to that database schema". Modules combined with appropiate glue then makes a service that is "fat" in responibilities but lean in network latencies. Code reviews that also checks that module seperation is maintained really helps.
- jzoch 6y agoId go a lot further and say you should invest a ton in enforcing module boundaries automatically. Shopify's approach to writing their own package manager comes to mind - you cannot rely on code review to keep code clean. Entropy will naturally lead to boundaries broken down. If you want the separation of microservices with a network to enforce it you need robust tooling to enforce that.
- lifeisstillgood 6y agodo you have any links re that shopify package manager - google seems to confuse software and postal wrapping...
- grncdr 6y agoI believe GP is referring to https://engineering.shopify.com/blogs/engineering/enforcing-modularity-rails-apps-packwerk https://engineering.shopify.com/blogs/engineering/enforcing-... Previous discussion: https://news.ycombinator.com/item?id=24571423 https://news.ycombinator.com/item?id=24571423
- swsieber 6y agoIn java land, I have found multi-projevt gradle builds and copious tests have gotten us pretty far without needing to resort to a custom package manager.
- Tainnor 6y agomulti project gradle builds are a god-send