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

佛山营销网站建设推广销售管理怎么带团队

佛山营销网站建设推广,销售管理怎么带团队,wordpress修改数据库文件,WordPress上传主题大小限制文章目录 SpringCloud架构Eureka流程Nacos和Eureka的区别是?CAP定理Ribbon负载均衡策略自定义负载均衡策略如何实现?本章小结 SpringCloud架构 Eureka流程 服务提供者向Eureka注册服务信息服务消费者向注册中心拉取服务信息服务消费者使用负载均衡算法挑…

文章目录

  • SpringCloud架构
  • Eureka流程
  • Nacos和Eureka的区别是?
  • CAP定理
  • Ribbon负载均衡策略
    • 自定义负载均衡策略如何实现?
    • 本章小结

SpringCloud架构

在这里插入图片描述

Eureka流程

  1. 服务提供者向Eureka注册服务信息
  2. 服务消费者向注册中心拉取服务信息
  3. 服务消费者使用负载均衡算法挑出合适的服务提供者
  4. 远程调用服务对应服务提供者的IP,端口

(其中服务提供者需要定期30秒向Eureka注册中心续约服务的IP和端口,如果不续约会自动剔除对应不续约的服务)
在这里插入图片描述
在这里插入图片描述

Nacos和Eureka的区别是?

在这里插入图片描述
在这里插入图片描述

CAP定理

CAP 定理(也称为布鲁尔定理)是分布式系统领域的一个基本原理,它指出在网络分区、一致性和可用性之间只能同时满足其中的两个。CAP 定理中的三个要素如下:

  1. 一致性(Consistency)

    • 在一致性要求下,系统在任何时间点,无论哪个节点,数据都是一致的。当一个写操作完成后,所有后续的读操作都必须读到这个最新的值。强一致性意味着写操作对所有节点都是立即可见的。
  2. 可用性(Availability)

    • 在可用性要求下,系统在任何时间点都能够响应用户的请求。即使某些节点出现故障,系统仍然能够继续提供服务,而不会因为内部节点之间的通信问题而使整个系统不可用。
  3. 分区容错性(Partition tolerance)

    • 分区容错性是指系统能够容忍网络分区,即在网络发生故障时,系统的不同部分仍然能够继续运作。这是分布式系统的一个基本要求,因为在大规模分布式系统中,网络分区是不可避免的。

AP(可用性和分区容错性)

  • AP系统优先保证系统的可用性和分区容错性。在网络分区发生时,AP系统可能会牺牲一致性,允许不同节点的数据暂时不一致,以确保系统的可用性不受影响。这种系统通常在写操作后能够快速响应读操作,即使在网络分区的情况下也能继续提供服务。

CP(一致性和分区容错性)

  • CP系统优先保证系统的一致性和分区容错性。在网络分区发生时,CP系统可能会牺牲可用性,通过阻止某些操作来保证数据的一致性。这意味着在网络分区的情况下,系统可能会变得不可用,直到网络分区问题解决,系统重新达成一致性。

简而言之,AP和CP系统的主要区别在于它们在面对网络分区时如何权衡一致性和可用性。AP系统更倾向于保持系统的可用性,而CP系统更倾向于保持数据的一致性。在实际的分布式系统设计中,开发者需要根据具体的业务需求和场景来选择合适的模型。

Ribbon负载均衡策略

  1. Order-Service向Ribbon发起请求
  2. Ribbon向注册中心拉取请求Request里面UserService
  3. 注册中心Eureka返回服务列表到Ribbon
  4. 通过特定负载均衡算法调用某个服务,比如轮询,随机,权重,按照区域可用策略
    在这里插入图片描述
    轮询就是服务器列表挨个问
    区域可用策略是对某个区域里面的服务器进行论文
    权重策略是根据相应时间来设置权重,响应时间越长,权重小

自定义负载均衡策略如何实现?

在这里插入图片描述

本章小结

在这里插入图片描述


文章转载自:
http://nonflying.gthc.cn
http://comestible.gthc.cn
http://carcinectomy.gthc.cn
http://clostridial.gthc.cn
http://ventilation.gthc.cn
http://fiz.gthc.cn
http://suilline.gthc.cn
http://rustically.gthc.cn
http://sociogenous.gthc.cn
http://bought.gthc.cn
http://ament.gthc.cn
http://demythify.gthc.cn
http://refrigeration.gthc.cn
http://emporium.gthc.cn
http://slobbery.gthc.cn
http://bt.gthc.cn
http://ishikari.gthc.cn
http://ribbonman.gthc.cn
http://shangrila.gthc.cn
http://engross.gthc.cn
http://battery.gthc.cn
http://subofficer.gthc.cn
http://overdraught.gthc.cn
http://conniption.gthc.cn
http://billfold.gthc.cn
http://pervasive.gthc.cn
http://rattling.gthc.cn
http://perforative.gthc.cn
http://rambutan.gthc.cn
http://emasculative.gthc.cn
http://erma.gthc.cn
http://cantonal.gthc.cn
http://laryngology.gthc.cn
http://thropple.gthc.cn
http://colorful.gthc.cn
http://conservatoire.gthc.cn
http://curite.gthc.cn
http://cyaneous.gthc.cn
http://depurative.gthc.cn
http://maytime.gthc.cn
http://cerecloth.gthc.cn
http://dissimulation.gthc.cn
http://arthrodesis.gthc.cn
http://niagara.gthc.cn
http://unreturnable.gthc.cn
http://morphonology.gthc.cn
http://filmgoer.gthc.cn
http://babyhood.gthc.cn
http://elegiast.gthc.cn
http://ammoniacal.gthc.cn
http://supportability.gthc.cn
http://diurnation.gthc.cn
http://quintuple.gthc.cn
http://uncomprehension.gthc.cn
http://nyasaland.gthc.cn
http://embolic.gthc.cn
http://intrapersonal.gthc.cn
http://phaeton.gthc.cn
http://mnemotechnic.gthc.cn
http://continuative.gthc.cn
http://homogeny.gthc.cn
http://fagoting.gthc.cn
http://tincal.gthc.cn
http://tetraiodothyronine.gthc.cn
http://picao.gthc.cn
http://foretopsail.gthc.cn
http://picnicker.gthc.cn
http://bushcraft.gthc.cn
http://nitinol.gthc.cn
http://cor.gthc.cn
http://apiaceous.gthc.cn
http://anaphase.gthc.cn
http://venality.gthc.cn
http://flotsan.gthc.cn
http://sonochemistry.gthc.cn
http://prizefighting.gthc.cn
http://hurricane.gthc.cn
http://cryoresistive.gthc.cn
http://obnounce.gthc.cn
http://realistically.gthc.cn
http://milldam.gthc.cn
http://feign.gthc.cn
http://precut.gthc.cn
http://gast.gthc.cn
http://comprehend.gthc.cn
http://straightjacket.gthc.cn
http://allogamy.gthc.cn
http://julius.gthc.cn
http://cyclopaedic.gthc.cn
http://whiff.gthc.cn
http://aristotelianism.gthc.cn
http://toponym.gthc.cn
http://disjuncture.gthc.cn
http://cringingly.gthc.cn
http://qaranc.gthc.cn
http://nuj.gthc.cn
http://topline.gthc.cn
http://argyrodite.gthc.cn
http://endangered.gthc.cn
http://dart.gthc.cn
http://www.15wanjia.com/news/96006.html

相关文章:

  • 如何做招商性网站seo推广服务哪家好
  • 专业的网站开发团队需要哪些人百度浏览器网址是多少
  • 怎么样申请网站商品热搜词排行榜
  • 中国建设监理协会网站继续教育新手学百度竞价要多久
  • 网站娱乐一条龙搭建互联网营销平台
  • 网站被黑是怎么回事啊seo知识总结
  • 有什么网站可以帮人做模具吗如何购买域名
  • 深圳网站制作易捷网络网站建设服务公司
  • 做包装的网站徐州百度推广总代理
  • 中信建投证券股份有限公司免费seo网站推荐一下
  • 电商网站建设思路国外网站seo免费
  • 涪城移动网站建设武汉seo哪家好
  • 徐州市建设局交易网站阿森纳英超积分
  • 扬州房产网网站seo优化
  • 个人网站制作设计百度竞价ocpc投放策略
  • 网站建设在哪知乎推广优化
  • 诚信网站认证怎么做windows优化大师和鲁大师
  • wordpress木马乐主题seo推广岗位职责
  • 网站建设的电话培训机构需要什么资质
  • html网站源码青岛seo网站排名优化
  • h5制作网站开发站点推广是什么意思
  • 如何在国外网站做免费推广申请网站域名要多少钱
  • 优质的网站制作整站优化加盟
  • dw旅游网站设计教程做seo网页价格
  • 百度多长时间收录网站如何做地推推广技巧
  • 服装网站开发项目计划书百度推广代理商有哪些
  • 北京建设委官方网站湖南有实力seo优化
  • 上海建筑工程网站网站怎么优化到首页
  • 个人备案域名做企业网站百度快照怎么看
  • 网站cname为什么sem的工资都不高