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

  • Cloud-Native Applications in Java
  • Ajay Mahajan Munish Kumar Gupta Shyam Sundar
  • 134字
  • 2021-06-24 19:07:15

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.

主站蜘蛛池模板: 明星| 广元市| 福泉市| 霸州市| 白城市| 镇安县| 天津市| 民和| 苍南县| 河南省| 天台县| 白朗县| 洛阳市| 东莞市| 梨树县| 柯坪县| 阳朔县| 赤壁市| 全椒县| 中卫市| 瓮安县| 肇源县| 库车县| 富川| 防城港市| 沾化县| 漳州市| 车致| 临汾市| 南陵县| 宜昌市| 商水县| 同德县| 广西| 高青县| 钟山县| 德惠市| 聂荣县| 无棣县| 沙田区| 防城港市|