4 ms·
Could anyone explain what microservices are? I'm still learning as a junior dev and haven't quite understood what this word means. How would you break down an e
by lprd 9y ago
Could anyone explain what microservices are? I'm still learning as a junior dev and haven't quite understood what this word means. How would you break down an existing monolith into smaller 'micro-services'?
- hartator 9y agoIt's basically breaking down your app in several smaller web apps. Mostly to ease development and define responsibility. It doesn't make sense if you have only one tech team.
- asadjb 9y agoIMHO ease of development isn't guaranteed with microservices. It's usually a bit more complicated to manage multiple services all coordinating the completion of a single task. Where it does help is to define responsibility, and allow different teams to work without stepping on each others toes. Also, there are cases where microservices would make sense even with one person on the tech team. For instance if you want to scale services independently of each other. For example, your web app isn't used that much, but you get heavy traffic on the mobile API. In that case, maybe having the mobile API as a separate service helps.
- asadjb 9y agoHere's on of the sources I see most referred to when talking about microservices. Maybe this could help you to understand them. https://martinfowler.com/articles/microservices.html https://martinfowler.com/articles/microservices.html
- lprd 9y agoThank you :)