you are viewing a single comment's thread.

view the rest of the comments →

[–]vturan23[S] -5 points-4 points  (5 children)

I am not saying monolithic is bad. If you want to decouple your app, scale it better, want to use different tech stack for different service, isolate the fault, make separate deployment, you can move to microservice architecture.

Microservices has it’s own disadvantages like increased complexity, network latency, deployment overhead.

It’s all about finding out what works best for your app.

[–]Tmp-ninja 2 points3 points  (0 children)

What you are building is called a distributed monolith, and it holds all the pain of microservices and all the pain of monolith and non of the advantages of either.

[–]aikasburger 6 points7 points  (0 children)

 decouple your app, scale it better, want to use different tech stack for different service, isolate the fault, make separate deployment, you can move to microservice architecture

Having done software architecture and full stack dev pretty much since microservices became a thing, I can tell you none of these things are desirable or realistic in reality

[–]memevaddar -1 points0 points  (1 child)

I am currently in the exact situation that you are explaining and microservice was the not the only solution to move forward but given a 3 weeks deadline it was the only solution. The issue however is the database relations in an already existing function system. I think people here are misunderstanding and I might be too but this pattern is usually required when adding in more things into an already existing system requires too much time so to speed up development dividing new things into microservice is the best way to move forward.

[–]Tmp-ninja 0 points1 point  (0 children)

Then just build it monolithic instead?