Comment

Comment by arshmand

Curious to know how you handle dependencies between services. For example, say you have a User service, I could imagine creating a client library for interacting with this service (the library being responsible for knowing where the http end point is, serializing/unserializing JSON into domain objects, etc.). Then any service wanting to interact with the User service just adds this library as a dependency.

Along those same lines how do you deal with fetching of domain objects and associated relationships from these services? For example, let's say in one instance you want a user and their manager and in another instance you want a user and their manager's manager and so forth for any relationship that a user might have (that the User service is responsible for).

parent arshmand 11 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton