Topic
  • 5 replies
  • Latest Post - ‏2012-12-24T19:31:27Z by SystemAdmin
SystemAdmin
SystemAdmin
2327 Posts

Pinned topic Recommended value for maxConcurrentConnectionsPerNode

‏2012-12-18T12:02:37Z |
Hello All,

I haven't found much info about this property, but what would be recommended value for the high load application?
note. Does it have any impact on the JVM.

Thanks!
  • MrWidget
    MrWidget
    8 Posts

    Re: Recommended value for maxConcurrentConnectionsPerNode

    ‏2012-12-19T17:39:15Z  
    Have you reviewed this link?

    http://pic.dhe.ibm.com/infocenter/wrklight/v5r0m5/topic/com.ibm.worklight.help.doc/devref/r__loadconstraints_.html?resultof=%22%6d%61%78%43%6f%6e%63%75%72%72%65%6e%74%43%6f%6e%6e%65%63%74%69%6f%6e%73%50%65%72%4e%6f%64%65%22%20%22%6d%61%78%63%6f%6e%63%75%72%72%65%6e%74%63%6f%6e%6e%65%63%74%69%6f%6e%73%70%65%72%6e%6f%64%22%20
  • SystemAdmin
    SystemAdmin
    2327 Posts

    Re: Recommended value for maxConcurrentConnectionsPerNode

    ‏2012-12-19T22:48:09Z  
    • MrWidget
    • ‏2012-12-19T17:39:15Z
    Have you reviewed this link?

    http://pic.dhe.ibm.com/infocenter/wrklight/v5r0m5/topic/com.ibm.worklight.help.doc/devref/r__loadconstraints_.html?resultof=%22%6d%61%78%43%6f%6e%63%75%72%72%65%6e%74%43%6f%6e%6e%65%63%74%69%6f%6e%73%50%65%72%4e%6f%64%65%22%20%22%6d%61%78%63%6f%6e%63%75%72%72%65%6e%74%63%6f%6e%6e%65%63%74%69%6f%6e%73%70%65%72%6e%6f%64%22%20
    Yes, thanks.
    And it doesn't help much.
    What I need is any info if increasing connection number will affect heap size, and if there's any recommended setting for high load applications.

    Thanks.
  • AntonAleksandrov
    AntonAleksandrov
    55 Posts

    Re: Recommended value for maxConcurrentConnectionsPerNode

    ‏2012-12-23T12:21:09Z  
    Yes, thanks.
    And it doesn't help much.
    What I need is any info if increasing connection number will affect heap size, and if there's any recommended setting for high load applications.

    Thanks.
    Hello,

    maxConcurrentConnectionsPerNode is number of threads that will be used by adapter (per server node) for backend connectivity.
    Imagine you have 100 transactions per second.
    Average backend response time is 2 seconds.
    You have 4 server nodes.
    This means that in order to properly communicate with a back end you need to set 100 * 2 / 4 = 50 concurrent connections.

    Of course more threads you have more memory is used. We do not recommend setting this too high. Estimate average/peak TPS, calculate concurrent connections, add 5-10 to be sure and monitor your server to see if it needs to be adjusted.

    Keep in mind that your backend must be able to process all those incoming requests.
  • AntonAleksandrov
    AntonAleksandrov
    55 Posts

    Re: Recommended value for maxConcurrentConnectionsPerNode

    ‏2012-12-23T12:22:07Z  
    Hello,

    maxConcurrentConnectionsPerNode is number of threads that will be used by adapter (per server node) for backend connectivity.
    Imagine you have 100 transactions per second.
    Average backend response time is 2 seconds.
    You have 4 server nodes.
    This means that in order to properly communicate with a back end you need to set 100 * 2 / 4 = 50 concurrent connections.

    Of course more threads you have more memory is used. We do not recommend setting this too high. Estimate average/peak TPS, calculate concurrent connections, add 5-10 to be sure and monitor your server to see if it needs to be adjusted.

    Keep in mind that your backend must be able to process all those incoming requests.
    Following links might be helpful:
    ftp://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v505/Scalability_and_Hardware_Sizing.pdf
    ftp://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v505/Hardware_Calculator.xls
  • SystemAdmin
    SystemAdmin
    2327 Posts

    Re: Recommended value for maxConcurrentConnectionsPerNode

    ‏2012-12-24T19:31:27Z  
    Following links might be helpful:
    ftp://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v505/Scalability_and_Hardware_Sizing.pdf
    ftp://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v505/Hardware_Calculator.xls
    Thank you Anton for very useful answers.