Five Stars

[ESB] Thread Pool Server/client

Hello,

 

How to set up Thread Pool for jetty server? There is a configuration file etc/jetty.xml according to docs. Is this thread pool shared among all services published by Jetty server on various ports or does it create thread pool for each port separately? In my opinion pool is shared for all ports. Is it possible to set up thread pool for different ports? Do REST and SOAP services use same jetty.xml configuration file?

 

<Configure id="Server" class="org.eclipse.jetty.server.Server">

    <Get name="ThreadPool">
        <Set name="minThreads" type="int">50</Set>
        <Set name="maxThreads" type="int">150</Set>
        <Set name="idleTimeout" type="int">60000</Set>
        <Set name="detailedDump">false</Set>
    </Get>

 

Thank you,

Martin

  • Talend ESB
  • Talend Runtime
Tags (4)
1 REPLY
Moderator

Re: [ESB] Thread Pool Server/client

Hello,

Could you please take a look at this document about:TalendHelpCenter:Thread pools?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.