[jbossts-issues] [JBoss JIRA] (JBTM-2746) facing performane issue when setup narayana JTA and txbridge out of JBoss

Zefa Guan (JIRA) issues at jboss.org
Thu Sep 1 10:14:00 EDT 2016


     [ https://issues.jboss.org/browse/JBTM-2746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zefa Guan updated JBTM-2746:
----------------------------
    Description: 
when setup txbridge under Tomcat8 out of JBoss, I am facing performance issue as below scenario;
1) running 3 tomcat instances
2) A call B via WS
3) B call C via WS
4) when 100 - 200 GET query from " http://localhost:8081/user?action=add " via Service A, all 3 tomcat got stuck for a while then raise exception with attached logs
---------------------------------------------
the reason may cause by race condition/socket timeout/exceed limits, will need to reproduce and research more
at the beginning I thought it was caused by DB resource locking failed but after I commented out all DB access, the problem still there
put all my code to https://github.com/JonkeyGuan/txbridgeInTomcat8 for reproducing and reference

{code}
     servlet client - localhost:8081/user?action=add 
          |
--------------------------------------------------------------
    ServiceA Tomcat
    Narayana JTA 
    Webservie - localhost:8082/user?action=add
--------------------------------------------------------------
          |
       txbridge
          |
--------------------------------------------------------------
    ServiceB Tomcat
    Narayana JTA 
    Webservie - localhost:8083/user?action=add
--------------------------------------------------------------
          |
       txbridge 
          |
--------------------------------------------------------------
    ServiceB Tomcat
    Narayana JTA 
--------------------------------------------------------------
{code}

  was:
when setup txbridge under Tomcat8 out of JBoss, I am facing performance issue as below scenario; 

{code}
     servlet client - localhost:8081/user?action=add 
          |
--------------------------------------------------------------
    ServiceA Tomcat
    Narayana JTA 
    Webservie - localhost:8082/user?action=add
--------------------------------------------------------------
          |
       txbridge
          |
--------------------------------------------------------------
    ServiceB Tomcat
    Narayana JTA 
    Webservie - localhost:8083/user?action=add
--------------------------------------------------------------
          |
       txbridge 
          |
--------------------------------------------------------------
    ServiceB Tomcat
    Narayana JTA 
--------------------------------------------------------------
{code}



> facing performane issue when setup narayana JTA and txbridge out of JBoss
> -------------------------------------------------------------------------
>
>                 Key: JBTM-2746
>                 URL: https://issues.jboss.org/browse/JBTM-2746
>             Project: JBoss Transaction Manager
>          Issue Type: Enhancement
>            Reporter: Zefa Guan
>
> when setup txbridge under Tomcat8 out of JBoss, I am facing performance issue as below scenario;
> 1) running 3 tomcat instances
> 2) A call B via WS
> 3) B call C via WS
> 4) when 100 - 200 GET query from " http://localhost:8081/user?action=add " via Service A, all 3 tomcat got stuck for a while then raise exception with attached logs
> ---------------------------------------------
> the reason may cause by race condition/socket timeout/exceed limits, will need to reproduce and research more
> at the beginning I thought it was caused by DB resource locking failed but after I commented out all DB access, the problem still there
> put all my code to https://github.com/JonkeyGuan/txbridgeInTomcat8 for reproducing and reference
> {code}
>      servlet client - localhost:8081/user?action=add 
>           |
> --------------------------------------------------------------
>     ServiceA Tomcat
>     Narayana JTA 
>     Webservie - localhost:8082/user?action=add
> --------------------------------------------------------------
>           |
>        txbridge
>           |
> --------------------------------------------------------------
>     ServiceB Tomcat
>     Narayana JTA 
>     Webservie - localhost:8083/user?action=add
> --------------------------------------------------------------
>           |
>        txbridge 
>           |
> --------------------------------------------------------------
>     ServiceB Tomcat
>     Narayana JTA 
> --------------------------------------------------------------
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbossts-issues mailing list