|
|
|
|
|
by aidenn0
2995 days ago
|
|
A microservice is very similar to running a library as a server. Some key differences: You generally can't horizontally scale two libraries in the same process independently of each other, but you also don't usually have to worry about library availability at runtime. If you don't need to scale a particular dependency separately, and you can't do useful work if the dependency is unavailable, then it should probably be a library. Perhaps someone can explain to me the motivation microservices when there still exists a lot of runway for scaling up without scaling out. |
|