Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-blocking APIs for Durable Task clients #3

Open
cgillum opened this issue Jan 27, 2022 · 1 comment
Open

Non-blocking APIs for Durable Task clients #3

cgillum opened this issue Jan 27, 2022 · 1 comment
Labels
P3 Priority 3

Comments

@cgillum
Copy link
Member

cgillum commented Jan 27, 2022

Issue summary

The DurableTaskClient APIs are all blocking APIs and use gRPC blocking-stubs internally. This limits the scalability of apps that depend on these client APIs.

Proposal

The DurableTaskClient abstract class should add support for non-blocking variants of the various APIs (starting orchestrations, waiting for their completion, etc.).

Other considerations

Azure Functions for Java doesn't yet support non-blocking functions: Azure/azure-functions-java-worker#244, so non-blocking client APIs likely won't benefit Azure Functions users. Unfortunately, there's no indication about if or when this support will be added to Azure Functions.

@kaibocai
Copy link
Member

Hi @cgillum , are other languages supporting non-blocking APIs currently? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Priority 3
Projects
None yet
Development

No branches or pull requests

3 participants