Serverless

来源:互联网 发布:php array splice 编辑:程序博客网 时间:2024/05/18 00:27

                                                                       Serverless

       周末在家里闲着看一些新的东西Serverles。还是原来的套路,是什么?干什么用的?

      Serverless,字面的意思是无服务。

      “Serverless is an application framework for building serverless web, mobile and IoT applications exclusively on ASW Lambda”---官网上给出的概念。    

   “Serverless是一种构建和管理基于微服务架构的完整流程,允许你在服务部署级别而不是服务器部署级别来管理你的应用部署,你甚至可以管理某个具体功能或端口的部署,这就能让开发者快速迭代,更快速地开发软件。”---度娘给的答案。
      基于Serverless架构的概念的应用平台:AWS Lambda为代表的新型应用平台

      在AWS Lambda的介绍是:

      “通过 AWS Lambda,无需配置或管理服务器即可运行代码。您只需按消耗的计算时间付费 – 代码未运行时不产生费用。借助 Lambda,您几乎可以为任何类型的应用程序或后端服务运行代码,而且全部无需管理。只需上传您的代码,Lambda 会处理运行和扩展高可用性代码所需的一切工作。您可以将您的代码设置为自动从其他 AWS 服务触发,或者直接从任何 Web 或移动应用程序调用。”

    “Serverless architectures refer to applications that significantly depend on third-party services (knows as Backend as a Service or "BaaS") or on custom code that's run in ephemeral containers (Function as a Service or "FaaS"), the best known vendor host of which currently is AWS Lambda. By using these ideas, and by moving much behavior to the front end, such architectures remove the need for the traditional 'always on' server system sitting behind an application. Depending on the circumstances, such systems can significantly reduce operational cost and complexity at a cost of vendor dependencies and (at the moment) immaturity of supporting services.”--Mike Roberts

    看了之后的个人理解是:对于概念的把握,不是像字面的描述不需要server。目的是为了降低运营成本和复杂性的,消除在开发应用程序时应用服务系统。这一点可以通过具体的应用平台AWS Lambda来更好的体会。https://aws.amazon.com/cn/lambda/这是该应用平台的中文官网,在其使用案例中体会到其作用和设计的目的。我们可以用他来构建我们自己的数据处理系统。

0 0