Hacker News new | ask | show | jobs
by skar5151 3500 days ago
Is this the right math ? 1 microservice = 1 REST API endpoint = 1 container = 1 node process ?
2 comments

There are no hard rules about how to divide up your microservices and how atomic each one can be. This is an example at the lowest level as projected by Nginx.

We recommend deploying microservices that are encapsulated by domain because 1. locality of operations, 2. dependencies are going to require you rev as a unit. For us, that model could be running in it's own container or with several other related models.

Great question!