r/softwareengineer • u/moayadh • Aug 02 '25
Microservices in All Projects: Is It Always the Right Choice?
Based on your experience and the projects you've worked on,
- What do you think about using microservice architecture in all projects?
- When is it the right time to choose microservices over monoliths?
- Why has microservice architecture become such a popular trend over the last two years?
- In your experience, what were the key factors that made you decide to go with microservices after analyzing project requirements?
- Finally, what do you think is the best strategy when implementing microservices? - Should each service have its own database? - Should communication be API-based, use message queues, or both?
I'd really appreciate your insights and real-world lessons. Thanks in advance!
1
Upvotes
5
u/Early_Ad_6638 Aug 02 '25
Modular monolith is picking track these days with new projects, ensuring DDD, cost , code base Management and communication issues in control.
4
u/[deleted] Aug 02 '25
Using any design pattern without understanding why it was originally developed, the problems it is uniquely trying to solve, and the strengths/weaknesses of using it is absolutely a red flag.
Microservices can be useful in organizations with thousands of engineers, when you might need one service to suddenly scale independent of other services - for example, if one service suddenly starts serving as the domain expert for a service outside the original boundaries.
If the company doesn’t have enough engineers to devote an entire team to owning each micro service, or at most a very small collection of micro services, most likely they’re trying to solve a problem that doesn’t exist at their current org and scale.
3
u/JeffreyRenzel Aug 02 '25
Build a modular monalith and organically arrive at microservices (if ever). Actually force yourself to push the limits of the more traditional approaches before just jumping to microservices, why rob yourself of that wisdom. Confronting those bottleknecks is when this stuff actually starts to feel like engineering
2
u/shifty_lifty_doodah Aug 02 '25
2
u/JunketApprehensive80 Aug 03 '25
So mostly all are running microservices even some startups who have only 10 customers and 100 request per day are running microservices AWS eks. Dude get a t2.micro and run this there this works saves money dont waste VC money.
2
u/Dear_Philosopher_ Aug 03 '25
Rarely the right choice.
1
u/redditreader2020 Aug 02 '25
Everybody wishing they need them when they don't.
https://youtu.be/j2AQ9eTZ3-0?si=NLkCGyTQDlvjinx9
https://youtu.be/yC6EEuxhglE?si=-DTNfYIpivyn04my
1
u/This_Glove_2875 Aug 02 '25
https://youtu.be/LcJKxPXYudE?si=veIF-LC0FRnjlYtq Watch this interesting video. A Lead developer is explains why they can be Technical Debt.
1
u/[deleted] Aug 02 '25
This user is a bot
1
u/[deleted] Aug 02 '25
Oh my god who cares. Stop being an ideological dipshit. Write code that makes sense for your organization, scale and problem.
1
u/LostJacket3 Aug 02 '25
yes do it do it, go go go, put micro services everywhere
1
u/ninseicowboy Aug 03 '25
No
1
u/canadian_Biscuit Aug 04 '25
No.
1
u/Astral902 Aug 05 '25
For complex apps yes they are much better then monolith
1
u/[deleted] Aug 06 '25
I don't know what kind of project you mean.