官术网_书友最值得收藏!

Scalability

With IaaS, you can achieve infinite scalability with any cloud service. You just need to hire new machines as your usage grows. You can also automate the process of starting and stopping servers as your demand changes. But this is not a fast way to scale. When you start a new machine, you usually need to wait for around 5 minutes before it can be usable to process new requests. Also, as starting and stopping machines is costly, you only do this after you are certain that you need. So, your automated process will wait some minutes to confirm that your demand has changed before taking any action.

Infinite scalability is used as a way to highlight that you can usually grow without worrying if the cloud provider has enough capacity to offer. That's not always true. Each cloud provider has limitations that you must consider if you are thinking in large applications. For example, AWS limits the number of running virtual machines (IaaS) of a specific type to 20 and the number of concurrent Lambda functions (serverless) to 1,000.


IaaS is able to handle well-behaved usage changes, but it can't handle unexpected high peaks that happen after announcements or marketing campaigns. With serverless, your scalability is measured in milliseconds and not minutes. Besides being scalable, it's very fast to scale. Also, it scales per invocation without needing to provision capacity.

When you consider a high usage frequency in a scale of minutes, IaaS suffers to satisfy the needed capacity while serverless meets even higher usages in less time.

In the following graph, the left-hand side graph shows how scalability occurs with IaaS. The right-hand side graph shows how well the demand can be satisfied using a serverless solution:

With an On-Premises approach, this is a bigger problem. As the usage grows, new machines must be bought and prepared, but increasing the infrastructure requires purchase orders to be created and approved, you need to wait the new servers to arrive and you need to give time to your team to configure and test them. It can take weeks to grow, or even months if the company is very big and requests many steps and procedures to be filled in.

主站蜘蛛池模板: 水富县| 岐山县| 衡水市| 特克斯县| 西和县| 宜都市| 英超| 青川县| 翁牛特旗| 赤水市| 长治市| 米林县| 无为县| 巢湖市| 师宗县| 新沂市| 沙坪坝区| 阿尔山市| 海林市| 龙井市| 茌平县| 藁城市| 都昌县| 弋阳县| 汉寿县| 德昌县| 银川市| 宝鸡市| 西乌珠穆沁旗| 正安县| 浠水县| 自贡市| 永安市| 普洱| 大竹县| 仙游县| 旅游| 益阳市| 东乌珠穆沁旗| 涿州市| 余庆县|