TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why our team cancelled our move to microservices

27 pointsby jose_zapalmost 6 years ago

3 comments

ldoughtyalmost 6 years ago
Micro-services are not a magic bullet.<p>That said a it&#x27;s fairly common too have need to cross services -- to have something aware of all services to coordinate some aspect. That thing, itself, could be a micro-service that helps you split up everything else.<p>Of course, it&#x27;s much easier to build as a micro-service than to convert to micro service. It sounds like this article had a lot of coupled services to start with, so going to micro-services was not just isolating components but rewriting a lot of business logic
评论 #20664339 未加载
karmakazealmost 6 years ago
There were a number of red flags indicating that microservices were not a good fit here:<p>&gt; Microservices had been sold to us [...]<p>It seems no one really understood the benefits or costs--somewhat understandable as there&#x27;s no learning better than doing.<p>&gt; Building on top of a third-party impacted how we could divide our domain into microservices.<p>Usually the features come together at the top where the user is, in this case it may be both the top and bottom.<p>&gt; We couldn’t identify any obvious candidates in our monolith to be broken out into a microservice. So instead, we started drawing arbitrary lines between our domain models<p>This is how most first-time microservices designs fail drawing boundaries around &#x27;nouns&#x27;. With each being a source of truth for information needed in many contexts. A microservice should be one of these contexts and the data it needs from each &#x27;noun&#x27; source separately from serving requests.<p>&gt; We have approximately 12 developers spread across 2 feature teams<p>This is the biggest red flag. The primary advantage of microservices is for scaling teams so each can deliver independently. With only 2 pizza-sized teams there&#x27;s not much point.<p>There may still have been a useful feature that could be extracted into a microservice if given more consideration. Think along the lines of &#x27;what has to change a lot for a particular recurring reason&#x27; might point somewhere. Another way is if there&#x27;s a mixture in the tech stack, e.g. search is often split off.
29athrowawayalmost 6 years ago
If you run a book store, it is a good practice to define some way to categorize your books.<p>But what if you pick a weird criteria for categorization and end up with 10000 different sections? That is almost as bad as having each book have its own category.<p>What if you consistently end up with books that are fundamentally different in every way in the same categories? that&#x27;s almost as bad as completely random categories.<p>And the same can happen with software. What goes into a service must be consistent and make sense.