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

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.

主站蜘蛛池模板: 通城县| 横峰县| 土默特右旗| 正定县| 三亚市| 建平县| 公安县| 怀化市| 新竹县| 鄂托克前旗| 尖扎县| 开原市| 苏州市| 烟台市| 微山县| 濮阳市| 原阳县| 柳州市| 自贡市| 茶陵县| 宜宾县| 耒阳市| 方山县| 乌海市| 哈尔滨市| 永仁县| 梁山县| 香格里拉县| 吉首市| 富平县| 东乡族自治县| 崇州市| 潍坊市| 淳安县| 孝义市| 沙雅县| 娱乐| 吴旗县| 昭通市| 夏津县| 公安县|