...
The volume my-action-volume
can be mounted inside each container on: /mnt/ow/my-action-volume.
Activation result should return the volume info so that the next action in the sequence runs on the host where the volume was created.
The volume should be removed once the prewarmed actions are destroyed.
...
Should the developers specify a size for the volume, or assume a default for each volume ?size i.e. 10GB which is configured at the system level ?
TODO: Describe congestion scenarios: (1) wait-time due to an action in the sequence processing another request on that node (2) lack of resources to cold start a new container on the same host.
Cluster cache
Provide developers with a caching solution in the cluster. Developers would still pass larger assets by reference between actions, they would still write code to upload or download an asset, but use a cache provided by OpenWhisk, inside the cluster. The cache can be exposed through the Openwhisk SDK through 2 methods: write(asset_name, asset_value)
, read(asset_name)
.
...