HN user

persei8

31 karma
Posts2
Comments8
View on HN

Service owns it's data. Other services can't access this data directly. Within service, on it's data, you can do as many "joins" as you want.

If the entities in one service are not in strong relationship with one another, it's a sign you can split them in two services. But if two microservices talk to each other so extensively, that the service boundary is becoming a bottleneck, it's a sign that they should be one service.

In other words it's best to break down services by Bounded Contexts.

To me framework is a set of libraries, glued together with some infrastructure code. Framework provides some conventions that speed up most common tasks.

It may be possible to use framework as a library, though there is no or small benefit.