What are smart endpoints and dumb pipes?

Technology CommunityCategory: MicroservicesWhat are smart endpoints and dumb pipes?
VietMX Staff asked 3 years ago
  • Smart endpoints just meaning actual business rules and any other validations happens behind those endpoints which are not visible to anyone to the consumers of those endpoints think of it as a place where actual Magic happens.
  • Dumb pipelines means any communication means where no further actions e.g validations are taken place, it simply carries the data across that particular channel and it may also be replaceable if need be. The infrastructure chosen is typically dumb (dumb as in acts as a message router only). It just means that routing is the only function the pipes should be doing.