Skip to content

alob-mtc/serverless-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless framework (POC)

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

Serverless Architecture

Supported languages:

  • Golang

TODO:

  • Production readiness
  • Add more languages
  • Create docker wrapper
    • Add docker wrapper
    • Remove thread spawn from runner
      • Have the runner process signer the caller when in ready state - no easy way on doing this
  • Create API gateway
    • 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 URL param to function
      • 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
  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages