mehrandvd / general-stack

The question is as simple as this: Which stack to use for the next 3 years!
https://github.com/mehrandvd/general-stack/blob/master/home.md
MIT License
11 stars 3 forks source link

Micro-services or Monolithic, which paradaigm? #10

Open mehrandvd opened 5 years ago

mehrandvd commented 5 years ago

I'm not sure which one to use yet. Micro-service is great but at what cost? Do we really need it? If yes, how to get it? Monolithic is effective but will it trouble us in scaling?

mehrandvd commented 5 years ago

If we pick micro-service architecture, it is because of its scalability. We are NOT picking it because it allows us to use multiple stacks concurrently. In fact, we are against technology diversity.

shahriar10001 commented 5 years ago

the monolith is faster and easier way to start developing new applications. When the complexity of the system raises, the codebase grows bigger and the size of the organization grows, this is when microservices become more and more attractive. A general observation could be made that microservices are not a good choice for organizations which are small. Also, organizations that do not yet have a good understanding of the business context in which they operate should not start with microservices because it is expensive to get service boundaries wrong.

Capture

In my opinion, this depends on team skills and project size. If there is a high skill, micro service is a good option. Otherwise, the project should be split into smaller projects, but not in microservice's definitions and complexities. This item should be compliant with the standard and correct design patterns in the project levels and codes.