|
|
|
|
|
by karterk
4861 days ago
|
|
Microservices are not necessarily bad, but one should also be aware of the drawback of such an approach. If there is a very tight coupling between two modules, you will often find yourself having to keep making changes between 2 different modules. The typical process goes like this: 1. While working on module 1, you realize you need something from module 2 2. Open module 2, add new feature and publish changes 3. Go back to module 1, test new feature and resume work This process is fine once both modules 1 and 2 have matured but painful to deal with while the APIs are still taking shape. Hence it makes sense to keep a good abstraction between potential components and spin them off as an individual service only when they're stable enough. |
|