摘要: 一、consul 简介 consul 具有以下性质: 服务发现:consul通过http 方式注册服务,并且服务与服务之间相互感应。 服务健康监测 key/value 存储 多数据中心 consul可运行在mac windows linux 等机器上。 二、consul安装 linux window 阅读全文
posted @ 2018-01-30 10:13 allalongx 阅读(1383) 评论(2) 推荐(3)
摘要: 一、Hystrix Turbine简介 看单个的Hystrix Dashboard的数据并没有什么多大的价值,要想看这个系统的Hystrix Dashboard数据就需要用到Hystrix Turbine。Hystrix Turbine将每个服务Hystrix Dashboard数据进行了整合。Hy 阅读全文
posted @ 2018-01-30 10:10 allalongx 阅读(12276) 评论(0) 推荐(4)
摘要: 一、Hystrix Dashboard简介 在微服务架构中为例保证程序的可用性,防止程序出错导致网络阻塞,出现了断路器模型。断路器的状况反应了一个程序的可用性和健壮性,它是一个重要指标。Hystrix Dashboard是作为断路器状态的一个组件,提供了数据监控和友好的图形化界面。 二、准备工作 本 阅读全文
posted @ 2018-01-30 10:08 allalongx 阅读(802) 评论(0) 推荐(3)
摘要: 一、docker简介 Docker是一个开源的引擎,可以轻松的为任何应用创建一个轻量级的、可移植的、自给自足的容器。开发者在笔记本上编译测试通过的容器可以批量地在生产环境中部署,包括VMs(虚拟机)、bare metal、OpenStack 集群和其他的基础应用平台。 Docker通常用于如下场景: 阅读全文
posted @ 2018-01-30 10:06 allalongx 阅读(4599) 评论(0) 推荐(3)
摘要: 一、准备工作 Eureka can be made even more resilient and available by running multiple instances and asking them to register with each other. In fact, this i 阅读全文
posted @ 2018-01-30 09:59 allalongx 阅读(527) 评论(2) 推荐(5)
摘要: 一、简介 Add sleuth to the classpath of a Spring Boot application (see below for Maven and Gradle examples), and you will see the correlation data being c 阅读全文
posted @ 2018-01-30 09:56 allalongx 阅读(576) 评论(3) 推荐(5)
摘要: Spring Cloud Bus 将分布式的节点用轻量的消息代理连接起来。它可以用于广播配置文件的更改或者服务之间的通讯,也可以用于监控。本文要讲述的是用Spring Cloud Bus实现通知微服务架构的配置文件的更改。 一、准备工作 本文还是基于上一篇文章来实现。按照官方文档,我们只需要在配置文 阅读全文
posted @ 2018-01-30 09:52 allalongx 阅读(2178) 评论(4) 推荐(5)