当前位置:网站首页>Talk about scalability
Talk about scalability
2022-07-04 10:16:00 【JoesonChan】
Translated from :https://www.allthingsdistributed.com/2006/03/a_word_on_scalability.html ( Warner · Borges CTO - Amazon.com)
Scalability is often used as a magic spell , To show that something is improperly designed or damaged . In discussion , You often hear “ But on a small scale ” As a magic word to end the argument . This usually indicates that developers are experiencing a situation where the system architecture limits their ability to grow Services . If you use scalability in a positive sense , It usually indicates the required attributes , for example “ Our platform needs good scalability ”.
What do we really mean by scalability ? If we increase resources in the system to improve performance in proportion to the added resources , Then the service is called scalable . Usually , Improving performance means serving more units of work , But it can also handle larger units of work , For example, when the data set grows .
In distributed systems , There are other reasons to add resources to the system . for example , To improve the reliability of the services provided . The introduction of redundancy is an important first line of defense against failure . Adding resources to promote redundancy will not result in performance loss , It means that the always online service is scalable .
Why is scalability so difficult ? Because scalability is not an afterthought . It requires that extensibility be considered when designing applications and platforms , So that adding resources can actually improve performance , Or if redundancy is introduced , It will not adversely affect the system performance . If the request rate increases , Data sets increase or the number of nodes in the distributed system increases , Then many algorithms that perform well under low load and small data sets may lead to a surge in costs .
The second problem area is , Extending the system through horizontal expansion usually leads to the system having to be heterogeneous . With the launch of the next generation of hardware , When larger or more powerful resources become more cost-effective or when some resources are placed separately , The diversity of resources in the system also increases . Heterogeneity means that some nodes in the system will be able to process or store more data faster than others , And algorithms that rely on consistency may crash in these cases , Or underutilization of new resources .
Is it possible to achieve good scalability ? Absolutely , But the premise is that we should consider scalability when designing and designing the system . For the system we built , We must carefully check which axis we want the system to grow along , Where redundancy is needed and how to deal with heterogeneity in the system , And make sure that architects know which tools they can use under which tools . Conditions , And what are the common traps .
边栏推荐
- Hands on deep learning (41) -- Deep recurrent neural network (deep RNN)
- C # use gdi+ to add text to the picture and make the text adaptive to the rectangular area
- uniapp---初步使用websocket(长链接实现)
- 智能网关助力提高工业数据采集和利用
- Latex arranges single column table pictures in double column format articles
- Development guidance document of CMDB
- Realsense d435 d435i d415 depth camera obtains RGB map, left and right infrared camera map, depth map and IMU data under ROS
- Hands on deep learning (37) -- cyclic neural network
- Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 1
- Golang Modules
猜你喜欢

The time difference between the past time and the present time of uniapp processing, such as just, a few minutes ago, a few hours ago, a few months ago

百度研发三面惨遭滑铁卢:面试官一套组合拳让我当场懵逼

uniapp 处理过去时间对比现在时间的时间差 如刚刚、几分钟前,几小时前,几个月前

Hands on deep learning (35) -- text preprocessing (NLP)

leetcode1-3

C # use gdi+ to add text with center rotation (arbitrary angle)

IIS configure FTP website

Servlet基本原理与常见API方法的应用

Regular expression (I)

【Day2】 convolutional-neural-networks
随机推荐
Hands on deep learning (36) -- language model and data set
Normal vector point cloud rotation
Hands on deep learning (33) -- style transfer
C # use gdi+ to add text with center rotation (arbitrary angle)
Reasons and solutions for the 8-hour difference in mongodb data date display
Machine learning -- neural network (IV): BP neural network
Matlab tips (25) competitive neural network and SOM neural network
How to teach yourself to learn programming
H5 audio tag custom style modification and adding playback control events
Fabric of kubernetes CNI plug-in
View CSDN personal resource download details
Log cannot be recorded after log4net is deployed to the server
Kotlin 集合操作汇总
Pcl:: fromrosmsg alarm failed to find match for field 'intensity'
Qtreeview+ custom model implementation example
Hands on deep learning (34) -- sequence model
入职中国平安三周年的一些总结
7-17 crawling worms (15 points)
用数据告诉你高考最难的省份是哪里!
Realsense of d435i, d435, d415, t265_ Matching and installation of viewer environment