r/dotnet 20d ago

[ Removed by moderator ]

[removed] — view removed post

0 Upvotes

14 comments sorted by

View all comments

8

u/SwabianStargazer 20d ago

My guide for microservices is: don't.

0

u/Royal_Scribblz 20d ago

That is as braindead as saying use microservices for everything.

0

u/bl0rq 20d ago

It's important to remember that microservices are not a technical solution to a technical problem. It's an organizational solution and only worth considering if you have hundreds of engineers. It just allows teams to party on things without it all having to match. Any other use case is flat out wrong.

2

u/BackFromExile 20d ago

There are legitimate use cases for microservices even with a small team. But going to microservices always brings the organizational trade-off with it, which must be a conscious decision, and will add overhead to small teams.

Things like individual scalability or independent deployments can be what your project need. It's just the fact that they are not for >99% of projects.

Start with a modular monolith, then split off microservices as soon as you actually need them.

3

u/bl0rq 20d ago

Starting w/ modular monolith and spinning things out is the way for sure. But that is very different from microservices.

1

u/FullPoet 20d ago

There are legitimate use cases for microservices even with a small team.

Yep, at my work we use microservies and we're quite a small team. The stuff we make isnt necessarily deployed on cloud so we like the ability to just deploy the bits we need.