Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4759 PTG: Create Performance Tuning Guide
  3. JBPAPP-4778

PTG: Endpoint implementations in jboss-web rely on object.notify() which is unfair by design

XMLWordPrintable

    • Not Required

      If JIoEndpoint can't get a worker thread immediately, it'll enter the object lock queue of workers. Once a worker is released the endpoint will do a workers.notify(), which will wake up an arbitrary thread.

      In effect it has a FIRO queue and not a FIFO queue.

      Given a SLA where each request must be completed <3s (which is the current performance requirement) the deviation of response times is such that forfeits this requirement.

      The endpoint must therefore use a fair mechanism to dish out worker threads.

              rhn-engineering-cdewolf Carlo de Wolf
              rhn-engineering-cdewolf Carlo de Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: