关键词不能为空

当前您在: 主页 > 英语 >

系统的可扩展性

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-13 18:56
tags:

-

2021年2月13日发(作者:王尧)


什么是系统的可扩展性?



到底什么是可扩展性 ?这年头,作为软件设计架构师如果系统没有可扩展性对外交流时都不好意思。但是


如何 选择可扩展性方案?水平扩展还是垂直扩展?是不是很矛盾呢,本文为你分析可扩展性的真实含义和


实际项目中的取舍。



When asked what they mean by scalability, a lot of people talk about improving


performance, about implementing HA, or even talk about a particular technology


or protocol. Unfortunately, scalability is none of that. Don



t get me wrong. You


still need to know all about speed, performance, HA technology, application


platform, network, etc. But that is not the definition of scalability.



每每和别人提及可扩展性的含义时,很多人开始讨论提高性能,实施高可


用性,甚至谈论特定的技术或协议。显然这些并不是可扩展性。不要误会,您


当 然需要了解关于速度,性能,可用性,应用平台,网络等相关的一切,但这


并非可扩展性 的定义。



Scalability, simply, is about doing what you do in a bigger way. Scaling a web


application is all about allowing more people to use your application. If you can



t


figure out how to improve performance while scaling out, its okay. And as long as


you can scale to handle larger number of users its ok to have multiple single


points of failures as well.



简单地说,可扩展性就是关于如 何处理更大规模的业务。比如,


Web


应用

程序就是允许更多的人使用你的服务。如果你不能弄清楚如何提高性能的同时


向外扩 展,没关系。只要你能处理更大规模的用户,即使是存在多个单点故障


也没有问题。



There are two key primary ways of scaling web applications which is in practice


today.



在今天实践中有两个关键的缩放


Web


应用程序 的方式:垂直扩展和水平


扩展。




Vertical Scalability





Adding resource within the same logical unit to increase


capacity. An example of this would be to add CPUs to an existing server, or


expanding storage by adding hard drive on an existing RAID/SAN storage.




垂直扩展



-


在同一个逻辑单位添加资源以增加容量。这样的例子比比皆是,

比如升级服务器的


CPU


,比如在


RAID/ SAN


存储设备上增加硬盘。




Horizontal Scalability





Adding multiple logical units of resources and making


them work as a single unit. Most clustering solutions, distributed file systems,


load- balancers help you with horizontal scalability.




横向扩展



-


增加多个逻辑单元资源并且使他们作为一 个整体在工作。大多


数的集群解决方案,比如分布式文件系统,负载均衡都是通过横向扩 展技术来


进行的。



Every component, whether its processors, servers, storage drives or load-balancers


have some kind of management/operational overhead. When you try to scale that,


its important to understand what percentage of the resource is actually usable.


This measurement is called



scalability factor



. If you loose 5% of a processor


power every time you add a CPU to your system, then your



scalability factor



is


0.95. A scalability factor of 0.9 means you will only be able to use 90% of the


resource.



每一个部件,无论它是处理器,服务器,存储 驱动器或负载均衡有一定的


管理上或者操作上的开销。当您尝试进行扩展时,很重要的一 点是要了解实际


的资源利用率,这种测量方法被称为



可扩展性因子



法。如果每添加一个

< p>
CPU


到系统,都会失去


5


%的处理器功率,那么您的可扩展性系数为


0.95


。当可扩


展系数为


0.9


时,意味着你将只能使 用


90


%的资源。



Scalability can be further sub- classified based on the



scalability factor



.





可扩展性因子


为基础,可扩展性可以进一步细化分类。



If the scalability factor stays constant as you scale. This is called



linear scalability



.



如果你的可扩展性系数保持不变,这就是所谓的



线性的可扩展性





But chances are that some components may not scale as well as others. A


scalability factor below 1.0 is calleub-linear scalability



.



但某些组件有可能无法像别人一样可以扩展, 该系数低于


1.0


的就是所谓



分线性可扩展性。



-


-


-


-


-


-


-


-



本文更新与2021-02-13 18:56,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/652114.html

系统的可扩展性的相关文章

  • 余华爱情经典语录,余华爱情句子

    余华的经典语录——余华《第七天》40、我不怕死,一点都不怕,只怕再也不能看见你——余华《第七天》4可是我再也没遇到一个像福贵这样令我难忘的人了,对自己的经历如此清楚,

    语文
  • 心情低落的图片压抑,心情低落的图片发朋友圈

    心情压抑的图片(心太累没人理解的说说带图片)1、有时候很想找个人倾诉一下,却又不知从何说起,最终是什么也不说,只想快点睡过去,告诉自己,明天就好了。有时候,突然会觉得

    语文
  • 经典古训100句图片大全,古训名言警句

    古代经典励志名言100句译:好的药物味苦但对治病有利;忠言劝诫的话听起来不顺耳却对人的行为有利。3良言一句三冬暖,恶语伤人六月寒。喷泉的高度不会超过它的源头;一个人的事

    语文
  • 关于青春奋斗的名人名言鲁迅,关于青年奋斗的名言鲁迅

    鲁迅名言名句大全励志1、世上本没有路,走的人多了自然便成了路。下面是我整理的鲁迅先生的名言名句大全,希望对你有所帮助!当生存时,还是将遭践踏,将遭删刈,直至于死亡而

    语文
  • 三国群英单机版手游礼包码,三国群英手机单机版攻略

    三国群英传7五神兽洞有什么用那是多一个武将技能。青龙飞升召唤出东方的守护兽,神兽之一的青龙。玄武怒流召唤出北方的守护兽,神兽之一的玄武。白虎傲啸召唤出西方的守护兽,

    语文
  • 不收费的情感挽回专家电话,情感挽回免费咨询

    免费的情感挽回机构(揭秘情感挽回机构骗局)1、牛牛(化名)向上海市公安局金山分局报案,称自己为了挽回与女友的感情,被一家名为“实花教育咨询”的情感咨询机构诈骗4万余元。

    语文