Skip to content

alob-mtc/serverless-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless framework (POC)

This is a simple serverless framework(runtime and cli) that can be used to run serverless functions in a durable way.

Serverless Architecture

Running

API Controller

$ cargo run -p api-controller

Supported languages:

  • Golang

TODO:

  • Create docker wrapper
    • Add docker wrapper
    • Collect container logs and store them
  • Create API gateway
    • New Process controller
    • Receive incoming request (function invocation)
      • Signer start of function process
      • Forward request to function process
      • Retrieve response from function process and bobble it backup
    • Function call
      • Forward function response header
      • Forward request header to function
      • Forward query param and body to function
      • Add running function store
      • Create a process that keeps the stare up to date
      • Create a store that track running functions
      • Dynamically create function port
      • Start function If not started
      • Check Is function already started
      • Make Function request stream based
  • Create CLI
    • Create function
    • Support environment variables
    • Deploy function
    • Make sure the function uses the same go version as the docker image
    • Support multiple files
    • Support go module system
  • Create a new architecture for the new direction of the project
  • Optimizations
    • Make function deploy concurrent
  • Create a road map for the project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published