Microservice envy

非彼无我

庄子《齐物论》

当我们谈论一个东西,很容易就这个东西谈它本身。但事物的边界不是由它自身(即“我”)决定的,而是由“不是它”的那些东西(即“彼”)来决定的。

monolith

['mɑːnəlɪθ]

n.巨型独石;整块石料;庞然大物

Pros

  • Simple to develop
  • Simple to deploy
  • Simple to scale

Cons

  • Intimidates new developers
  • Continuous deployment is difficult
  • Cannot scale each component independently
  • Prevents the teams from working independently
  • Requires a long-term commitment to a technology stack

Pros

  • Easier for new developers to understand
  • Deployed independently
  • Teams from working independently

Cons

  • Inter-service communication mechanism
  • End to end use cases involve multiple services and teams
  • Deployment complexity

Envy?

http://c2.com/cgi/wiki?FeatureEnvySmell

Quadrant: techniques

Ring: hold

Made with Slides.com