官术网_书友最值得收藏!

Multiple small units of work

The idea is to take a complex problem and try to break it into smaller pieces. As mentioned in one of the advantages of microservices—Small business capability focused services are easier to maintain and refactor, we should build our microservice as a fine-grained service. This even allows for replacing the service without having to spend weeks or months attempting to do so. Each of these small units (microservices) should be capable enough to:

  • Provide for its own private datastore
  • Be independently deployable with its own runtime process
  • Publish the public interface for others to use in the form of a API contract
  • Be fault tolerant, so failure in one should not affect other services
  • Be confined to a bounded context (from Domain driven design (DDD))
主站蜘蛛池模板: 专栏| 普洱| 思南县| 韩城市| 土默特左旗| 丹巴县| 镇远县| 即墨市| 瑞安市| 三河市| 黄大仙区| 临城县| 屏山县| 当阳市| 临安市| 探索| 文昌市| 南城县| 任丘市| 开阳县| 福安市| 永登县| 聊城市| 锦屏县| 津南区| 邹平县| 醴陵市| 报价| 建德市| 庆云县| 揭西县| 通州区| 开江县| 平果县| 旺苍县| 赞皇县| 玛多县| 视频| 崇义县| 马鞍山市| 万安县|