openfaas 架构介绍

 此为官方介绍
 

Overview of OpenFaaS

Stack

Function Watchdog

    • You can make any Docker image into a serverless function by adding the Function Watchdog (a tiny Golang HTTP server)
    • The Function Watchdog is the entrypoint allowing HTTP requests to be forwarded to the target process via STDIN. The response is sent back to the caller by writing to STDOUT from your application.
    • API Gateway / UI Portal
      • The API Gateway provides an external route into your functions and collects Cloud Native metrics through Prometheus.
      • Your API Gateway will scale functions according to demand by altering the service replica count in the Docker Swarm or Kubernetes API.
      • A UI is baked in allowing you to invoke functions in your browser and create new ones as needed.

The API Gateway is a RESTful micro-service and you can view the Swagger docs here.

 
原文地址:https://www.cnblogs.com/rongfengliang/p/7637004.html