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

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.

主站蜘蛛池模板: 江山市| 绿春县| 闵行区| 石景山区| 卢氏县| 马关县| 英吉沙县| 上杭县| 茶陵县| 比如县| 江川县| 五台县| 股票| 巴楚县| 六盘水市| 乾安县| 昌黎县| 夏河县| 荣昌县| 乐业县| 连云港市| 三穗县| 荆州市| 古田县| 延边| 昭觉县| 松溪县| 黎城县| 德庆县| 阿尔山市| 棋牌| 泗水县| 精河县| 益阳市| 陕西省| 石城县| 安图县| 鹤庆县| 呼图壁县| 通州市| 平原县|