<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # Serverless架構 就像無線互聯網實際有的地方也需要用到有線連接一樣,無服務器架構仍然在某處有服務器。Serverless(無服務器架構)指的是由開發者實現的服務端邏輯運行在無狀態的計算容器中,它由事件觸發, 完全被第三方管理,其業務層面的狀態則被開發者使用的數據庫和存儲資源所記錄。 CNCF 的[云原生 landscape](https://github.com/cncf/landscape) 中就包括 Serverless 附圖,這也是云原生發展到更高階段的面向特定應用場景的簡易抽象。 ![Serverless Landscape](https://ws2.sinaimg.cn/large/006tNbRwly1fx0ie2kb90j31kw0ynha3.jpg) 下圖來自谷歌云平臺官網,是對云計算的一個很好的分層概括,其中 serverless 就是構建在虛擬機和容器之上的一層,與應用本身的關系更加密切。 ![從物理機到函數計算](https://box.kancloud.cn/08e8da1c8c36c79002d7fa7be4a08191_694x502.jpg) ### Serverless架構的優點 今天大多數公司在開發應用程序并將其部署在服務器上的時候,無論是選擇公有云還是私有的數據中心,都需要提前了解究竟需要多少臺服務器、多大容量的存儲和數據庫的功能等。并需要部署運行應用程序和依賴的軟件到基礎設施之上。假設我們不想在這些細節上花費精力,是否有一種簡單的架構模型能夠滿足我們這種想法?這個答案已經存在,這就是今天軟件架構世界中新鮮但是很熱門的一個話題——Serverless(無服務器)架構。 ——AWS 費良宏 - **降低運營成本:** Serverless是非常簡單的外包解決方案。它可以讓您委托服務提供商管理服務器、數據庫和應用程序甚至邏輯,否則您就不得不自己來維護。由于這個服務使用者的數量會非常龐大,于是就會產生規模經濟效應。在降低成本上包含了兩個方面,即基礎設施的成本和人員(運營/開發)的成本。 - **降低開發成本:** IaaS和PaaS存在的前提是,服務器和操作系統管理可以商品化。Serverless作為另一種服務的結果是整個應用程序組件被商品化。 - **擴展能力:** Serverless架構一個顯而易見的優點即“橫向擴展是完全自動的、有彈性的、且由服務提供者所管理”。從基本的基礎設施方面受益最大的好處是,您只需支付您所需要的計算能力。 - **更簡單的管理:** Serverless架構明顯比其他架構更簡單。更少的組件,就意味著您的管理開銷會更少。 - **“綠色”的計算:** 按照《福布斯》雜志的統計,在商業和企業數據中心的典型服務器僅提供5%~15%的平均最大處理能力的輸出。這無疑是一種資源的巨大浪費。隨著Serverless架構的出現,讓服務提供商提供我們的計算能力最大限度滿足實時需求。這將使我們更有效地利用計算資源。 ## Kubernetes上的serverless 架構 目前已經有一批優秀的基于 kubernetes 的 serverless 架構(FaaS)開源項目如下: - [faas](https://github.com/alexellis/faas) - ?? Functions as a Service - a serverless framework for Docker & Kubernetes [https://blog.alexellis.io/introducing…](https://blog.alexellis.io/introducing-functions-as-a-service/) - [faas-netes](https://github.com/alexellis/faas-netes) - Enable Kubernetes as a backend for Functions as a Service (OpenFaaS) <https://github.com/alexellis/faas> - [fn](https://github.com/fnproject/fn) - The container native, cloud agnostic serverless platform. [http://fnproject.io](http://fnproject.io/) - [funktion](https://github.com/funktionio/funktion/) - a CLI tool for working with funktion <https://funktion.fabric8.io/> - [fx](https://github.com/metrue/fx) - Poor man's serverless framework based on Docker, Function as a Service with painless. - [IronFunctions](https://github.com/iron-io/functions) - IronFunctions - the serverless microservices platform. [http://iron.io](http://iron.io/) - [knative](https://github.com/knative) - Kubernetes-based platform to build, deploy, and manage modern serverless workloads - [kubeless](https://github.com/kubeless/kubeless) - Kubernetes Native Serverless Framework [http://kubeless.io](http://kubeless.io/) - [OpenWhisk](http://openwhisk.incubator.apache.org/) - Apache OpenWhisk (Incubating) is a serverless, open source cloud platform that executes functions in response to events at any scale. 以上項目收錄于 [awsome-cloud-native](https://github.com/rootsongjc/awesome-cloud-native)。 ## FaaS Function-as-a-Service景觀圖(圖片來自`https://github.com/amyers1793/FunctionasaServiceLandscape`) ![FaaS Landscape](https://box.kancloud.cn/809818ee633379084d148cc4586e8668_1280x720.jpg) ## 參考 - [Why Serverless? - serverless.com](https://serverless.com/learn/) - [Serverless Architectures - Martin Fowler](https://martinfowler.com/articles/serverless.html) - [Serverless架構綜述](http://dockone.io/article/1460) - [2017年會是Serverless爆發之年嗎?](http://www.infoq.com/cn/news/2017/04/2017-Serverless) - [從IaaS到FaaS—— Serverless架構的前世今生](https://aws.amazon.com/cn/blogs/china/iaas-faas-serverless/) - [Introducing Redpoint's FaaS Landscape](https://medium.com/memory-leak/this-year-gartner-added-serverless-to-its-hype-cycle-of-emerging-technologies-reflecting-the-5dfe43d818f0)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看