|
|
|
|
|
by dontlaugh
1148 days ago
|
|
If you depend both on schema and RPC, it becomes very difficult to gradually deploy changes without downtime. You’re forced to be both forwards and backwards compatible. Worse, schemas are often only part of the contract. It’s very common to have logic and constraints in code, maybe even a majority. To share that across services you end up with shared models, then you end up with some utils with logic, before you know it you have yet another deployment difficulty. Might as well just not split into services and make it trivial to maintain compatibility and deploy changes. |
|