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

State

Functions, as they run in ephemeral containers, have significant restrictions when it comes to management of state. You need to design your functions in such a way that the subsequent run of your function will not be able to access state from a previous run. In short, you should develop your functions with the point of view that they are stateless.

This affects how you design the architecture for your application. Considering that functions are stateless, you need to use external resources to manage the state of your application so that the state can be shared between runs of the functions. Some of the popular external resources that are widely using the FaaS architecture are Amazon S3, which provides a simple web services interface that you can use to store and retrieve any amount of data, at any time, from anywhere on the web, caching solutions, such as Memcached or Redis, and database solutions, such as Amazon DynamoDB, which is a fast and flexible NoSQL database service for any scale.

主站蜘蛛池模板: 德化县| 山东省| 阳城县| 昌乐县| 崇州市| 太康县| 海南省| 长宁县| 炎陵县| 漳平市| 东台市| 滦南县| 汉中市| 新兴县| 宜丰县| 友谊县| 航空| 离岛区| 自治县| 新密市| 武平县| 黔西县| 枣庄市| 泸定县| 三明市| 桓仁| 咸丰县| 亚东县| 汪清县| 民县| 平昌县| 来凤县| 宜阳县| 安顺市| 于田县| 黑龙江省| 怀集县| 精河县| 新营市| 岫岩| 营山县|