Show HN: Functions as a Service for Kubernetes
github.com
github.com
You can run Go/Node/Python in your browser via functions.
A tiny Golang shim (watchdog) is embedded in your container and means you don't have to create and maintain individual runtimes. You can even make `cat` or `gofmt` into a serverless function with no extra code. Communication is by stdin/stdout pipes (similar to CGI) meaning you can also support native Windows processes too - such as .NET.
You have a UI built-in for testing/viewing functions and metrics are used to auto-scale your functions for demand.
If you're already using Docker to package applications, it will be easy to adopt this OSS FaaS - whether building for Windows or Linux. More info on the README https://github.com/alexellis/faas/
I realise it will be more, since it adds flexibility, just curious how much.
Tested on a Type 3 Packet Bare Metal host with latest Docker Swarm. The NodeJS example called NodeInfo comes back in around 0.1s / 100ms for a round-trip. A bash built-in (cat) is 0.015s / 15ms. Golang sample markdown function - 0.024s / 24ms.