princeton-sns / firecracker-tools

5 stars 5 forks source link

A runtime for programs with no runtime #26

Closed alevy closed 5 years ago

alevy commented 5 years ago

This should let us run functions such as the xc workload...

Includes a C-program to act as the "runtime", in charge of the snapshotting, mounting the app file system, openning and parsing the request/response console device.

The interface is that each function invocation is a new instance of /srv/workload, which can be any Linux executable, but likely a shell script. The request JSON is passed as the first command-line argument, and the response is taken as a line-terminated JSON from the standard out of the process.