You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by y <ht...@163.com> on 2023/03/10 03:17:04 UTC
Maximum concurrency of ComputeTask
Hi Everyone:
When multiple users were calling the same computeTask through the thin client, I noticed that there is a limit to the maximum number of computing tasks running simultaneously on the server. In my server, 30 or 31 ComputeTasks can be run simultaneously at most. No matter how increasing the number of users, it still can only run 30 computeTask on Server. How can i improve the maximum number of running task?
Thanks,
Hu ty
Re:Re: Maximum concurrency of ComputeTask
Posted by y <ht...@163.com>.
Yes, it works.Thank you Pavel !!
At 2023-03-10 14:12:43, "Pavel Tupitsyn" <pt...@apache.org> wrote:
Two things can limit the number of active compute tasks:
IgniteConfiguration#publicThreadPoolSize (defaults to max(8, AVAILABLE_PROC_CNT))
ThinClientConfiguration#maxActiveComputeTasksPerConnection (defaults to 0 => compute from thin clients is disabled)
Please check those settings on your servers.
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/IgniteConfiguration.html#setPublicThreadPoolSize-int-
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/ThinClientConfiguration.html#setMaxActiveComputeTasksPerConnection-int-
On Fri, Mar 10, 2023 at 5:17 AM y <ht...@163.com> wrote:
Hi Everyone:
When multiple users were calling the same computeTask through the thin client, I noticed that there is a limit to the maximum number of computing tasks running simultaneously on the server. In my server, 30 or 31 ComputeTasks can be run simultaneously at most. No matter how increasing the number of users, it still can only run 30 computeTask on Server. How can i improve the maximum number of running task?
Thanks,
Hu ty
Re: Maximum concurrency of ComputeTask
Posted by Pavel Tupitsyn <pt...@apache.org>.
Two things can limit the number of active compute tasks:
IgniteConfiguration#publicThreadPoolSize (defaults to max(8,
AVAILABLE_PROC_CNT))
ThinClientConfiguration#maxActiveComputeTasksPerConnection (defaults to 0
=> compute from thin clients is disabled)
Please check those settings on your servers.
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/IgniteConfiguration.html#setPublicThreadPoolSize-int-
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/ThinClientConfiguration.html#setMaxActiveComputeTasksPerConnection-int-
On Fri, Mar 10, 2023 at 5:17 AM y <ht...@163.com> wrote:
> Hi Everyone:
>
> When *multiple users* were calling the same *c**omputeTask *through the *thin
> client*, I noticed that there is a limit to the maximum number of
> computing tasks running simultaneously on the server. In my server, 30 or
> 31 ComputeTasks can be run simultaneously at most. No matter how increasing
> the number of users, it still can only run 30 computeTask on Server. How
> can i improve the maximum number of running task?
>
> Thanks,
> Hu ty
>
>
>