zoukankan      html  css  js  c++  java
  • openfaas 了解

     1. 官方介绍

    OpenFaaS (Functions as a Service) is a framework for building serverless functions with Docker which has first class support for metrics. Any process can be packaged as a function enabling you to consume a range of web events without repetitive boiler-plate coding.

    Highlights

    • Ease of use through UI portal and one-click install
    • Write functions in any language for Linux or Windows and package in Docker/OCI image format
    • Portable - runs on existing hardware or public/private cloud - Kubernetes and Docker Swarm native
    • CLI available with YAML format for templating and defining functions
    • Auto-scales as demand increases
    2. 与Oracle 开源fn project 比较
    • API gateway 以及 UI Portal 类似 fn  的 API address  以及单独的项目 ui
    • 多语言支持方便还不错,这个好像fn 支持的会多点,同时sdk 提供的还比较好
    • 文档方面 fn  会比较详细,按照文档可以快速入门
    • fn 的 cli  功能比较方便
    • fn  的 application 、 router 相对比openfaas  的概念比较清晰
    • fn  运行的控制参数比较多,目前测试openfaas 稍有点少,可能和文档少有关 
    • fn  对于 aws  lambda  的支持是默认的,目前openfaas 应该是还在开发中
    • fn  的资源调度这方面暂时没有比较全的说明,但是openfaas  在k8s 环境中的replica 比较好
    • fn  在镜像管理方面比较好,openfaas 目前从使用上,感觉比较模糊,fn  直接deploy  之后会进行发布,以及镜像的上传,openfaas deploy 是本地镜像
    3. 参考资料
    https://github.com/fnproject/fn
    https://github.com/openfaas/faas


     
  • 相关阅读:
    面试题目1:spring和springmvc的区别与联系
    Vue---第二十三章v-on事件处理
    Vue---第二十二章v-for循环
    Vue-接口返回的值在页面上显示
    Vue---第二十一章v-if
    Vue---第二十章class和style,v-bind
    Vue---第十九章计算属性和监听器
    Vue---第十八章元素绑定v-bind,v-on
    Vue---第十七章v-once
    Vue---第十六章devtools
  • 原文地址:https://www.cnblogs.com/rongfengliang/p/7636651.html
Copyright © 2011-2022 走看看