Hacker News new | ask | show | jobs
by jasonmoo 3373 days ago
microservices. the struggle is real.
1 comments

Overuse of microservices is definitely a valid case of bad design.
Sure but you can easily compose 4 services into a single representation and still have an appropriate amount of decoupling. Think of a dashboard.

graphql points toward this

https://github.com/facebook/graphql

You can, but the pertinent question is whether you should. Microservices help with scaling endpoints that become bottlenecks but introducing them before they become necessary suffers from many of the common problems associated with premature optimisation.