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

Serverless and PaaS

Serverless is often confused with Platform as a Service (PaaS). PaaS is a kind of cloud computing model that allows developers to launch applications without worrying about the infrastructure. According to this definition, they have the same objective! And they do. Serverless is like a rebranding of PaaS, or you can call it the next generation of PaaS.

The main difference between PaaS and serverless is that in PaaS you don't manage machines, but you are billed by provisioning them, even if there is no user actively browsing your website. In PaaS, your code is always running and waiting for new requests. In serverless, there is a service that is listening for requests and will trigger your code to run only when necessary. This is reflected in your bill. You will pay only for the fractions of seconds that your code was executed and the number of requests that were made to this listener. Also, serverless has an immutable state between invocations, so it's always a fresh environment for every invocation. Even if the container is reused in a subsequent call, the filesystem is renewed.

主站蜘蛛池模板: 铜陵市| 石家庄市| 南投县| 东至县| 本溪| 黔江区| 沧州市| 广南县| 龙山县| 海淀区| 修文县| 合肥市| 柞水县| 多伦县| 平武县| 葵青区| 垣曲县| 莱芜市| 普宁市| 哈巴河县| 遵化市| 黄山市| 福建省| 安福县| 临清市| 澄江县| 武乡县| 桐庐县| 凤台县| 天台县| 湘潭市| 石门县| 鄄城县| 罗山县| 天长市| 天镇县| 岗巴县| 永德县| 建宁县| 高雄市| 苍溪县|