cli
cli copied to clipboard
Support for multiple instances of a service for load balancing
Ask your question here
https://docs.dapr.io/developing-applications/building-blocks/service-invocation/service-invocation-overview/
Following this link I'm trying to run multiple instances of cart service. i.e when I start using the dapr I'm trying to start multiple instances using the same app id "cart" which results in the following exception.
dapr with ID cart is already running
Please let me know if my understanding is correct.
@yaron2 Can you add some thoughts on this? I believe that this is currently not supported by the CLI. Is that correct?
That's correct. Dapr does support load balancing and running of multiple instances in self-hosted mode, but currently not with the Dapr CLI. You'll have to drop to the daprd process directly.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.