3 ms·
> You would not. The HTTP (say) API objects are versioned separately from the DB (or any internal implementation detail) of the service. This is abstraction: yo
by Tabular-Iceberg 5y ago
> You would not. The HTTP (say) API objects are versioned separately from the DB (or any internal implementation detail) of the service. This is abstraction: your API interfaces don’t change despite any internal changes.
This is exactly the same as how libraries are supposed to be written. A stable public API so the user doesn't have to bother with internal implementation details.
> Having 2 independent services let’s you upgrade each of them independently. You aren’t forced to update all of them at once.
You aren't forced to do that with libraries either. You don't have to statically link them at compile time, you can load them whenever you please.