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

Problems solved by serverless and Functions as a Service

Even though we have only been launching the most basic applications so far, I hope you are starting to see how using serverless could help with the development of your applications.

Imagine you have a JavaScript application which is being hosted in an object store such as Amazon's S3 service. Your application could be written in, say, React (https://facebook.github.io/react/) or Angular (https://angular.io/), and both of these technologies allow you to load external data using JSON. This data can be requested and delivered using a serverless function—combining these technologies allows you to create an application that not only has no single point of failure, but also, when using public cloud offerings, is a true you only pay for what you use application.

As the serverless function is being executed and then is immediately terminated, you should not have to worry about where or how it is executed, just that it is. This means that your application, in theory, should be scalable and also more fault-tolerant than a more traditional server-based application.

For example, if something goes wrong when one of your functions is called, for instance, if it crashes or there are resource issues and you know that when your function is next called it will be being launched afresh, you don't need to worry about your code being executed on a server which is having issues.

主站蜘蛛池模板: 襄汾县| 甘德县| 米林县| 浮山县| 正安县| 高安市| 同江市| 五莲县| 嘉义市| 四会市| 博湖县| 诏安县| 康乐县| 光泽县| 名山县| 沿河| 大冶市| 玛沁县| 沧源| 白山市| 柳河县| 镇巴县| 永登县| 平山县| 哈密市| 延安市| 林甸县| 阳高县| 都兰县| 来宾市| 屏南县| 新巴尔虎左旗| 永仁县| 涞源县| 万全县| 丽江市| 和静县| 五台县| 焉耆| 舟曲县| 滨海县|