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

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.

主站蜘蛛池模板: 壶关县| 玛多县| 闽侯县| 墨脱县| 和顺县| 太和县| 区。| 崇礼县| 莱芜市| 都兰县| 澄城县| 武川县| 靖州| 南澳县| 冕宁县| 古蔺县| 刚察县| 桐柏县| 广东省| 淮北市| 天长市| 朔州市| 蓝田县| 松潘县| 博爱县| 华安县| 闵行区| 兴山县| 酒泉市| 花垣县| 富阳市| 康平县| 邢台县| 铁岭县| 武定县| 廊坊市| 甘孜县| 本溪| 赣榆县| 丰顺县| 大方县|