期刊文献+

一种微服务架构下高可靠性技术实现

Implementation of High Reliability Technology in Microservice Architecture
在线阅读 下载PDF
导出
摘要 微服务架构本身具有业务独立、开发部署相对灵活等优点,但也因网络调用和服务间的复杂依赖关系导致的响应超时和服务故障等问题。本文首先介绍了高并发背景下微服务架构项目可能出现的延时响应和系统瘫痪等问题,然后介绍了针对这些故障的解决办法,即在某个微服务单元出现请求响应超时或者请求过载问题时采用断路器模式来结束等待并立即返回给调用方一个错误响应。最后给出了在SpringCloud微服务框架下的断路器Hystrix技术的具体思想和实现。 The microservice architecture itself has the advantages of business independence and relatively flexible development and deployment,but also has problems such as response timeouts and service failures caused by network calls and complex dependencies between services.First,This article introduces the problems of delayed response and system failure that may occur in microservice architecture projects under the high concurrency background,Then,this paper introduces solutions to these failures,that is,when a request response timeout or request overload occurs in a microservice unit Use circuit breaker mode to end the wait and immediately return an error response to the caller.Finally,the specific ideas and implementation of the circuit breaker Hystrix technology under the framework of SpringCloud microservices are given.
作者 迟殿委 孙丽霞 CHI Dian-wei;SUN Li-xia(Shandong Vocational University of Foreign Affairs,Weihai,Shandong 264504,China)
出处 《新一代信息技术》 2019年第23期30-34,共5页 New Generation of Information Technology
关键词 微服务 并发 断路器 SpringCloud Microservice Concurrency Circuit breaker SpringCloud
  • 相关文献

参考文献5

二级参考文献33

  • 1林正奎,杨德礼.软件构件复用技术综述[J].计算机工程与设计,2004,25(6):877-880. 被引量:34
  • 2许劲松,曹先彬.企业应用软件架构分析[J].计算机工程与设计,2006,27(7):1190-1193. 被引量:5
  • 3顾雷,陈磊,李三立.基于虚拟服务缓存的服务网关性能优化[J].小型微型计算机系统,2006,27(6):1034-1037. 被引量:1
  • 4Fowler M, Lewis J. Microservices. http://martinfowler.com/articles/microservices.html. [2014-03-25].
  • 5肖勤.微服务架构实践经验分享.http://www.csdn.net/article/2015-08-07/2825412.[2015-08-07].
  • 6Richardson C. Introduction to Microservices, https://www.nginx.com/blog/introduction-to-microservices/.[2015-05-19].
  • 7Ullah R. Dropwizard vs Spring BootA Comparison Matrix.https://dzone.com/articles/dropwizard-vs-spring-boot7utm_source=tuicool&utm_medium=referral. [2015-02-02].
  • 8Zhitnitsky A. Java Bootstrap: Dropwizard vs. Spring Boot.http://blog.takipi.com/java-bootstrap-dropwizard-vs-spring-boot/?utm_source=tuicool&utm_medium=referral. [2015-03-02].
  • 9Yammer. Getting Started. http://www.dropwizard.io/0.9.1/docs/getting-started.html.
  • 10HashiCorp. Introduction to Serf, https://www.serfdom.io/intro/index.html.

共引文献68

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部