This page provides a quick introduction to FaaSpot.
A FaaSpot spot is a VM that can run your functions. This VM is totally managed by FaaSpot. You can add or remove spots using the FaaSpot API. For more info, please read the Spots page.
A FaaSpot function is a package of function to run, with optional meta-data of secrets that are needed for the function run. For more info, please read the functions page.
FaaSpot exposes a set of REST APIs. You can call the APIs manually, using cURL for example, or you can use the FaaSpot client, which wraps the HTTP calls with a user friendly interface.
There are multiple ways to send requests to FaaSpot:
Some of the requests are executed as non-blocking. When you run a non-blocking request, the result will be an execution ID. In that case, you'll need to run another request to retrieve that execution status, in order to see if it's still in progress, or completed.
You can send blocking requests that will block the client until there is a response.
In the CLI, you can use the --wait
parameter.
You can send multiple requests concurrently, and send a single bulk request. This is a more advanced topic.