3 ms·
It is unclear to me what the intended mechanism of services helping different teams work together is that is not also provided by just writing libraries. Could
by DRMacIver 13y ago
It is unclear to me what the intended mechanism of services helping different teams work together is that is not also provided by just writing libraries. Could you elaborate?
- drewvolpe 13y agoLibraries don't encapsulate data or operations. For example, say we're on a team at Netflix responsible for handling recommendations. We could provide this to other teams a library they call: get_movie_recommendations(user, genre, ...) However, that call will need to hit a datastore. Which datastore does it use ? Which servers is that datastore running on ? When we make changes to the schema and need to migrate, which groups do we need to involve ? If it's a service, the recommendations team can own everything: the code, the data, and the servers. The other teams can be treated like customers of the service.
- DRMacIver 13y agoUm. Encapsulating data and operations is exactly what libraries do. It's kinda what they're for.