DEV Community

Discussion on: Why do microservices need an API Gateway?

Collapse
 
djnitehawk profile image
Dĵ ΝιΓΞΗΛψΚ

I really don't like microservices. mainly due to the complexities introduced and the latencies added. I really wish there was a better way to scale systems and teams. here's to hoping for a better future 🤞

Collapse
 
pjo336 profile image
Peter Johnston

There is, it’s improving the single monolith to be easier to develop in. Shopify has been doing this for years. The problem is microservices are cool and people jump ship to them before putting any effort into solving their existing problems

Collapse
 
djnitehawk profile image
Dĵ ΝιΓΞΗΛψΚ

yes, rightly said! my teams have adopted vertical slice architecture which deals with scaling human resources pretty well and a lot of performance optimizations + a good caching strategy has saved us from having to invest in microservices for the moment. maybe in v2.0 they can move to microservices but I'm out the door if they decide to do so 😁

Collapse
 
papito profile image
Andrei Taranchenko

There is nothing wrong with monoliths. A monolith with some particularly heavy services living separately will work for most companies out there.

Don't solve problems you don't have.

Collapse
 
winstonpuckett profile image
Winston Puckett

They could be ok if you have a perfect understanding of where to draw the lines between them... But when does that happen