Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-75

Throughput rate is limited per client/JVM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.0.16.Final
    • None

      Implement a SFSB with a method that receives a byte array. This method is called by a remote client using jboss-ejb-client as described here: https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+client+using+JNDI. Let the remote client open a configurable amount of threads in order to increase the throughput rate. Run the remote client successively by increasing the number of threads and measure the network throughput.

      The throughput doesn't increase beyond a certain rate without reaching the network limits (e.g. the bandwidth consumption stays at about 30MB/s on a gigabit Ethernet connection with a practical limit of 115MB/s). Starting the remote client twice will consume twice the bandwidth, starting three clients will consume three times the initial bandwidth, and thus you can reach the limit of your connection by adding an appropriate number of remote clients.

      This leads to the conclusion, that the throughput rate is limited per client.

      The following steps have been done in order to increase the throughput rate, all without driving the throughput significantly beyond the limit:

      • Increased the option TRANSMIT_WINDOW_SIZE up to 100MB
      • Increased the option MAX_OUTBOUND_MESSAGES up to 30000.

      Example code to reproduce the described behavior can be found here: https://github.com/mmois/jboss-ejb-client-performance/tree/jboss-7.2.0.Alpha1-redhat-4.

            jaikiran Jaikiran Pai (Inactive)
            mmois_jira M. Mois (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: