Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6194

Move transaction sticky logic in proxy to interceptors to avoid bottleneck

XMLWordPrintable

      With the current user transaction sticky tpc retrieval method, a bottleneck can be formed when invocation
      returns are too big. To avoid such bottleneck, we'll separate the transaction sticky logic in proxy into two
      separate interceptors, one for EJBs, one for ClientUserTransactionService's clustered proxy.

      By doing this, we're able to provide a cleaner solution, separating this logic from the proxy, and making it
      even more optional, reducing the risks of affecting normal (non user transaction sticky) invocations.

      Another interesting idea for the future would be to use a synchronised version of a weak IdentiyHashMap.

            rh-ee-galder Galder ZamarreƱo
            rh-ee-galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: