Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
5 replies Latest Post - ‏2012-12-24T19:31:27Z by SystemAdmin
SystemAdmin
SystemAdmin
2327 Posts
ACCEPTED ANSWER

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
    ACCEPTED ANSWER

    Re: Recommended value for maxConcurrentConnectionsPerNode

    ‏2012-12-19T17:39:15Z  in response to SystemAdmin
    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
      ACCEPTED ANSWER

      Re: Recommended value for maxConcurrentConnectionsPerNode

      ‏2012-12-19T22:48:09Z  in response to MrWidget
      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
        ACCEPTED ANSWER

        Re: Recommended value for maxConcurrentConnectionsPerNode

        ‏2012-12-23T12:21:09Z  in response to SystemAdmin
        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
          ACCEPTED ANSWER

          Re: Recommended value for maxConcurrentConnectionsPerNode

          ‏2012-12-23T12:22:07Z  in response to AntonAleksandrov
          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
            ACCEPTED ANSWER

            Re: Recommended value for maxConcurrentConnectionsPerNode

            ‏2012-12-24T19:31:27Z  in response to AntonAleksandrov
            Thank you Anton for very useful answers.