# WorkflowClient in Java SDK - is one client always enough or there should be a pool of clients?

**URL:** <https://community.temporal.io/t/workflowclient-in-java-sdk-is-one-client-always-enough-or-there-should-be-a-pool-of-clients/6328>\
**Category:** Community Support\
**Tags:** java-sdk\
**Created:** [October 26, 2022, 11:11am UTC](https://community.temporal.io/t/workflowclient-in-java-sdk-is-one-client-always-enough-or-there-should-be-a-pool-of-clients/6328 "2022-10-26T11:11:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piotr\_Starobrat](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/piotr_starobrat/32/2901_2.png) [@Piotr\_Starobrat](https://community.temporal.io/u/Piotr_Starobrat)\
**Post date:** [October 26, 2022, 11:11am UTC](https://community.temporal.io/t/workflowclient-in-java-sdk-is-one-client-always-enough-or-there-should-be-a-pool-of-clients/6328/1 "2022-10-26T11:11:42Z")

</div>

Hi,

I’m working on a design of a system using Temporal workflows in a massive scale. We are using Java SDK.  
Documentation says that WorkflowClient should be created once in a process, it shouldn’t be created for every request.  
Some of our workflows will be synchronous.  
Is it possible that workflow client would become a bottleneck of a system at some point?

I’m wondering - is one client always enough? Or maybe it makes sense to create a pool of workflow clients?

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [October 26, 2022, 3:52pm UTC](https://community.temporal.io/t/workflowclient-in-java-sdk-is-one-client-always-enough-or-there-should-be-a-pool-of-clients/6328/2 "2022-10-26T15:52:50Z")

</div>

Yes, one client is enough. Would you describe what you mean by “massive scale”?

---

<div class="post-metadata">

**Author:** ![Piotr\_Starobrat](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/piotr_starobrat/32/2901_2.png) [@Piotr\_Starobrat](https://community.temporal.io/u/Piotr_Starobrat)\
**Post date:** [October 27, 2022, 5:16pm UTC](https://community.temporal.io/t/workflowclient-in-java-sdk-is-one-client-always-enough-or-there-should-be-a-pool-of-clients/6328/3 "2022-10-27T17:16:12Z")

</div>

Thank you for the answer. I’m talking about hundreds of thousands of workflow executions - daily.

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [October 27, 2022, 6:02pm UTC](https://community.temporal.io/t/workflowclient-in-java-sdk-is-one-client-always-enough-or-there-should-be-a-pool-of-clients/6328/4 "2022-10-27T18:02:15Z")

</div>

That is not a massive scale for Temporal. The Temporal can support orders of magnitude higher rates.

---

<div class="post-metadata">

**Author:** ![Piotr\_Starobrat](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/piotr_starobrat/32/2901_2.png) [@Piotr\_Starobrat](https://community.temporal.io/u/Piotr_Starobrat)\
**Post date:** [October 28, 2022, 7:33am UTC](https://community.temporal.io/t/workflowclient-in-java-sdk-is-one-client-always-enough-or-there-should-be-a-pool-of-clients/6328/5 "2022-10-28T07:33:27Z")

</div>

Thank you Maxim for your help.

---

<div class="post-metadata">

**Author:** ![Pranav\_Gupta](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/pranav_gupta/32/2940_2.png) [@Pranav\_Gupta](https://community.temporal.io/u/Pranav_Gupta)\
**Post date:** [November 2, 2022, 4:07pm UTC](https://community.temporal.io/t/workflowclient-in-java-sdk-is-one-client-always-enough-or-there-should-be-a-pool-of-clients/6328/6 "2022-11-02T16:07:14Z")

</div>

Hi Maxim

We are planning to use temporal for a mission critical application for a leading Bank. Is it possible to have a word with you?

Regards  
Pranav

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [November 3, 2022, 3:34pm UTC](https://community.temporal.io/t/workflowclient-in-java-sdk-is-one-client-always-enough-or-there-should-be-a-pool-of-clients/6328/7 "2022-11-03T15:34:53Z")

</div>

Sure, DM me in Slack.

---

<div class="post-metadata">

**Author:** ![Pranav\_Gupta](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/pranav_gupta/32/2940_2.png) [@Pranav\_Gupta](https://community.temporal.io/u/Pranav_Gupta)\
**Post date:** [November 3, 2022, 4:32pm UTC](https://community.temporal.io/t/workflowclient-in-java-sdk-is-one-client-always-enough-or-there-should-be-a-pool-of-clients/6328/8 "2022-11-03T16:32:38Z")

</div>

Thanks Maxim, Piotr and I will contact you there.
