components-contrib
components-contrib copied to clipboard
Cron Binding - Does it have a load balancing option?
I did some tests with the Cron Binding and noticed that each instance of my application in Kubernetes is triggered by that binding. However, I'm afraid this will cause multiple unnecessary actions as a result (eg multiple requests to a third application). I would like to know if it is possible to load balace the Cron Binding calls, similarly to what happens with the service invocation.
I also take the opportunity to ask if this also applies to the other Input Bindings, that is, is a trigger sent to each instance or to a single one?
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.
Nobody? 😅
@MotaOcimar This might help : https://github.com/dapr/components-contrib/issues/1249#issuecomment-959799552
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.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.
It would be nice if this was available as an option for the Dapr cron binding (or maybe an additional binding that ) as that's how the Timer trigger in Azure Functions works, and in most cases that's what's wanted. I seem to remember that Azure Functions used blob leases to achieve that, and I guess the Dapr distributed lock building block could be used to achieve a similar result.