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

Support for parralel task execution #16

Closed
wesleyjconnor opened this issue Nov 14, 2018 · 5 comments
Closed

Support for parralel task execution #16

wesleyjconnor opened this issue Nov 14, 2018 · 5 comments

Comments

@wesleyjconnor
Copy link

Our use case requires parallel task execution to most efficiently process our tasks. The current implementation supports requesting multiple tasks but still processes them sequentially.
Is this feature planned? Or did I miss an option?

@koevskinikola
Copy link
Member

Hi @wesleyjconnor,

Currently, the external task client doesn't support parallel task execution and there aren't any plans to provide it in the near feature. You can attempt to optimize by running multiple clients and distribute tasks by business key. There has already been a similar issue opened for the External Task JS Client which implements the same features as this one, maybe the discussion there will help you.

Otherwise, you can contribute to this repository by providing a pull request, or, in case you are a Camunda customer, feel free to raise a Support ticket.

Best,
Nikola

@ingorichtsmeier
Copy link
Contributor

A workround could be to set maxTasks to 1, use long polling with asyncResponseTimeout 90000 (90 sec) and start multiple workers.

Now you can control hardware consumption by the OS.

@wesleyjconnor
Copy link
Author

A workround could be to set maxTasks to 1, use long polling with asyncResponseTimeout 90000 (90 sec) and start multiple workers.

Now you can control hardware consumption by the OS.

Yes I was considering a pool at the worker level.
Thanks for the input, I will see what I can do

@tasso94
Copy link
Member

tasso94 commented Nov 30, 2018

Hi,

I hope nothing remained unclear for you?
If you have any further questions please feel free to open this issue again.

Cheers,
Tassilo

@shibin-aot
Copy link

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

No branches or pull requests

5 participants