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


     
  • 相关阅读:
    node分离路由文件
    node项目搭建步骤
    在express获取POST(类似表单请求)的数据
    10分钟搭建Kubernetes容器集群平台(kubeadm)
    今日考题
    jQuery方法介绍
    JQuery练习题
    今日面试题:
    bom操作,事件与jquery
    今日理解之js
  • 原文地址:https://www.cnblogs.com/rongfengliang/p/7636651.html
Copyright © 2011-2022 走看看