Cosmo scale supports scaling the actors in your constellation to handle concurrent requests. It accepts the host ID on which the actor is running and the reference of the actor to scale as required arguments. It also accepts a
--max-concurrent value that specifies the maximum number of instances this actor can run concurrently. By default, the value is an unbounded level of concurrency. A value of zero is equivalent to stopping the actor.
cosmo scale actor <your-host-id> wasmcloud.azurecr.io/echo:0.3.7 cosmo scale actor <your-host-id> wasmcloud.azurecr.io/echo:0.3.7 --max-concurrent=20
-o) Specify output format (
-c) Maximum number of instances this actor can run concurrently. Omitting this value means there is no maximum
-a) Optional set of annotations used to describe the nature of this actor scale command. For example, autonomous agents may wish to “tag” scale requests as part of a given deployment