当前位置: 首页 > news >正文

请列出页面上影响网站排名的因素有哪些网站是织梦做的

请列出页面上影响网站排名的因素,有哪些网站是织梦做的,wordpress自动清缓存,手机软件开发工程师一、Hystrix Turbine简介 看单个的Hystrix Dashboard的数据并没有什么多大的价值#xff0c;要想看这个系统的Hystrix Dashboard数据就需要用到Hystrix Turbine。Hystrix Turbine将每个服务Hystrix Dashboard数据进行了整合。Hystrix Turbine的使用非常简单#xff0c;只需要…一、Hystrix Turbine简介 看单个的Hystrix Dashboard的数据并没有什么多大的价值要想看这个系统的Hystrix Dashboard数据就需要用到Hystrix Turbine。Hystrix Turbine将每个服务Hystrix Dashboard数据进行了整合。Hystrix Turbine的使用非常简单只需要引入相应的依赖和加上注解和配置就可以了。 二、准备工作 本文使用的工程为上一篇文章的工程在此基础上进行改造。因为我们需要多个服务的Dashboard所以需要再建一个服务取名为service-lucy它的基本配置同service-hi具体见源码,在这里就不详细说明。 三、创建service-turbine 引入相应的依赖 dependenciesdependencygroupIdorg.springframework.cloud/groupIdartifactIdspring-cloud-starter-netflix-eureka-client/artifactId/dependencydependencygroupIdorg.springframework.boot/groupIdartifactIdspring-boot-starter-web/artifactId/dependencydependencygroupIdorg.springframework.boot/groupIdartifactIdspring-boot-starter-actuator/artifactId/dependencydependencygroupIdorg.springframework.cloud/groupIdartifactIdspring-cloud-starter-netflix-hystrix/artifactId/dependencydependencygroupIdorg.springframework.cloud/groupIdartifactIdspring-cloud-starter-netflix-hystrix-dashboard/artifactId/dependencydependencygroupIdorg.springframework.cloud/groupIdartifactIdspring-cloud-starter-netflix-turbine/artifactId/dependency/dependencies 在其入口类ServiceTurbineApplication加上注解EnableTurbine开启turbineEnableTurbine注解包含了EnableDiscoveryClient注解即开启了注册服务。 SpringBootApplicationEnableEurekaClientEnableDiscoveryClientRestControllerEnableHystrixEnableHystrixDashboardEnableCircuitBreakerEnableTurbinepublic class ServiceTurbineApplication {/*** http://localhost:8764/turbine.stream*/public static void main(String[] args) {SpringApplication.run( ServiceTurbineApplication.class, args );}} 配置文件application.yml spring:application.name: service-turbineserver:port: 8769security.basic.enabled: falseturbine:aggregator:clusterConfig: default # 指定聚合哪些集群多个使用,分割默认为default。可使用http://.../turbine.stream?cluster{clusterConfig之一}访问appConfig: service-hi,service-la ### 配置Eureka中的serviceId列表表明监控哪些服务clusterNameExpression: new String(default)# 1. clusterNameExpression指定集群名称默认表达式appName此时turbine.aggregator.clusterConfig需要配置想要监控的应用名称# 2. 当clusterNameExpression: default时turbine.aggregator.clusterConfig可以不写因为默认就是default# 3. 当clusterNameExpression: metadata[cluster]时假设想要监控的应用配置了eureka.instance.metadata-map.cluster: ABC则需要配置同时turbine.aggregator.clusterConfig: ABCeureka:client:serviceUrl:defaultZone: http://localhost:8761/eureka/配置文件注解写的很清楚。 Turbine演示 ​ 依次开启server、service-hi、service-la、service-turbine工程。 打开浏览器输入http://localhost:8769/turbine.stream ​ 依次请求 http://localhost:8762/hi?namewhhttp://localhost:8763/hi?namewh​ 打开:http://localhost:8763/hystrix,输入监控流http://localhost:8769/turbine.stream ​ 可以看到这个页面聚合了2个service的hystrix dashbord数据。
http://www.w-s-a.com/news/883549/

相关文章:

  • 如何设计网站logohtml5开发
  • 金坛建设银行总行网站网站开发费用如何记账
  • 贵阳企业网站设计制作湛江知名网站建设电话
  • 网站建设安全性高清效果图网站
  • 上海网站排名推广黄山公司做网站
  • 全国网站建设公司实力排名单页面网站建设
  • 网站建设方案 规划wordpress 要备案吗
  • 一个完整的网站 技术网站建设中 敬请期待.
  • 如何建一个公司的网站网上怎么推广公司产品
  • 十大旅游电子商务网站影楼网站制作
  • 深圳网站建设代理商网业打开慢的原因
  • 旅游网站经营模式在屈臣氏做网站运营
  • 做管理信息的网站com域名查询
  • 免费推广网站推荐外贸推广平台哪个好
  • 腾宁科技做网站399元全包企业校园网站建设
  • 海外医疗兼职网站建设公司取名字大全免费
  • 龙口市规划建设局网站vi设计和品牌设计的区别
  • 企业网站的总体设计网站建设评审验收会议主持词
  • 网站建设完成推广响应式网站设计开发
  • 电商网站用php做的吗网站开发流程可规划为那三个阶段
  • flash网站怎么做音乐停止深圳网站建设金瓷网络
  • 哪个网站可以做房产信息群发怎么做国内网站吗
  • 微商城网站建设公司的价格卖磁铁的网站怎么做的
  • 免费做做网站手机平台软件开发
  • 网站单页做301徐州百度网站快速优化
  • 织梦怎么制作手机网站漳州专业网站建设公司
  • 邓州做网站网络优化概念
  • 查看网站开发phonegap wordpress
  • 网站建设和维护待遇怎样c 做的网站又哪些
  • 淮南网站推广网站开发行业前景