wasmCloud / wascc-host

Library for hosting actors and capability providers in a host process
Apache License 2.0
201 stars 15 forks source link

Create a work dispatch protocol for use on lattice #63

Closed autodidaddict closed 4 years ago

autodidaddict commented 4 years ago

In this protocol work is dispatched according to an auction protocol. This work dispatch would be used for starting up, shutting down, and deploying actors as well as the deployment and removal of capability providers.

To deploy an actor to the lattice (which is also the same thing as increasing the scale / instance count of an actor):

To deploy a capability provider to the lattice: The same auction workflow will apply to the deployment of capability providers, with the original auction request containing any constraints (such as arbitrary key value pairs, architecture limitation, etc).

Removing an actor:

Removing a capability provider: