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

Selecting a framework

Having looked at the basics, let's write our product service. After IDE setup, the next step is to select a framework to write the service. The microservice architecture puts forward a few interesting design considerations that will help us select the frameworks:

  • Lightweight runtime: The service should be small in size and fast to deploy
  • High resiliency: It should have support for patterns such as circuit breaker and timeout
  • Measurable and monitorable: It should capture metrics and expose hooks for monitoring agents to tap into
  • Efficient: It should avoid blocking resources and enable high scalability and elasticity in the presence of increased load

A good comparison can be found at: https://cdelmas.github.io/2015/11/01/A-comparison-of-Microservices-Frameworks.html. Three frameworks are gaining popularity in the Java space that meet the preceding requirements: Dropwizard, Vert.x, and Spring Boot.

主站蜘蛛池模板: 观塘区| 沈丘县| 岳阳市| 松溪县| 驻马店市| 宜昌市| 浪卡子县| 乐亭县| 岫岩| 当雄县| 呈贡县| 嘉祥县| 宁乡县| 大丰市| 石狮市| 丰宁| 望谟县| 石城县| 玉田县| 竹山县| 芷江| 兴国县| 兴仁县| 三都| 温州市| 平塘县| 十堰市| 芒康县| 秀山| 阿克| 曲阳县| 潜山县| 沂南县| 怀宁县| 吉安县| 建湖县| 蒙城县| 禹州市| 乐山市| 防城港市| 顺义区|