Fast Serverless Functions for Kubernetes
Ta-Ching Chen @ GTG22
•About me
•What is FaaS
•What is Fission
•How to use Fission
•Fission architecture
•How to contribute
•Conclusion
•Reference
•Ta-Ching Chen
•DevOps/Backend Engineer
• System Architecture Design/Implementation, Performance Tuning
•Blog: https://tachingchen.com/tw/
•Email: contact@tachingchen.com
•Function as a Service
•AWS Lambda, Google Cloud Function
•Pros:
•developer focus on code snippets
•short cold-start
•horizontal scaling
•pay as you go (!=cheap)
•Cons:
•vendor lock-in
•hard to test
•environmental limitation
•limited execution time per request
Fast Serverless Functions for Kubernetes“
”A fast serverless framework for Kubernetes
with a focus on developer productivity and high performance.
•Written in Go of course
•Short cold-start overhead (~100ms)
•Currently support environment:
•Go
•NodeJS
•PHP7
•Python3
•.Net
# Add the stock NodeJS env to your Fission deployment
$ fission env create --name nodejs --image fission/node-env
# A javascript one-liner that prints "hello world"
$ curl https://raw.githubusercontent.com/fission/fission/master/examples/nodejs/hello.js > hello.js
# Upload your function code to fission
$ fission function create --name hello --env nodejs --code hello.js
# Map GET /hello to your new function
$ fission route create --method GET --url /hello --function hello
# Run the function. This takes about 100msec the first time.
$ curl http://$FISSION_ROUTER/hello
Hello, world!
Never Live Demo
•Persistent function logs support
•Minikube Installation
•Repo Readme
•Issue List
•Slack messages are always welcome
•Short cold-start overhead (~100ms)
•Suitable for developers want to set up their own FaaS
•Customize environment image
•Adjustable execution time
•Cheaper than FaaS under heavy usage
•Fission
•Fission serverless functions as service for kubernetes
•What is function as a service
•Iaas Faas Serverless

Fission Introduction

  • 1.
    Fast Serverless Functionsfor Kubernetes Ta-Ching Chen @ GTG22
  • 2.
    •About me •What isFaaS •What is Fission •How to use Fission •Fission architecture •How to contribute •Conclusion •Reference
  • 3.
    •Ta-Ching Chen •DevOps/Backend Engineer •System Architecture Design/Implementation, Performance Tuning •Blog: https://tachingchen.com/tw/ •Email: contact@tachingchen.com
  • 4.
    •Function as aService •AWS Lambda, Google Cloud Function •Pros: •developer focus on code snippets •short cold-start •horizontal scaling •pay as you go (!=cheap) •Cons: •vendor lock-in •hard to test •environmental limitation •limited execution time per request
  • 5.
    Fast Serverless Functionsfor Kubernetes“ ”A fast serverless framework for Kubernetes with a focus on developer productivity and high performance.
  • 6.
    •Written in Goof course •Short cold-start overhead (~100ms) •Currently support environment: •Go •NodeJS •PHP7 •Python3 •.Net
  • 7.
    # Add thestock NodeJS env to your Fission deployment $ fission env create --name nodejs --image fission/node-env # A javascript one-liner that prints "hello world" $ curl https://raw.githubusercontent.com/fission/fission/master/examples/nodejs/hello.js > hello.js # Upload your function code to fission $ fission function create --name hello --env nodejs --code hello.js # Map GET /hello to your new function $ fission route create --method GET --url /hello --function hello # Run the function. This takes about 100msec the first time. $ curl http://$FISSION_ROUTER/hello Hello, world! Never Live Demo
  • 9.
  • 10.
    •Minikube Installation •Repo Readme •IssueList •Slack messages are always welcome
  • 11.
    •Short cold-start overhead(~100ms) •Suitable for developers want to set up their own FaaS •Customize environment image •Adjustable execution time •Cheaper than FaaS under heavy usage
  • 12.
    •Fission •Fission serverless functionsas service for kubernetes •What is function as a service •Iaas Faas Serverless