Improvements for issues found during Performance and Load testing
-----------------------------------------------------------------

                 Key: SYNAPSE-342
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-342
             Project: Synapse
          Issue Type: Bug
            Reporter: Asankha C. Perera
            Assignee: Asankha C. Perera


During load testing, I encountered an error for about once in 300,000 to 
400,000 requests of 1K, iterating 1000 messages at 80 user concurrency. The 
issue resulted in a 'Transfer-Encoding header already present' error, but the 
cause was the Axis2FlexibleMEPClient.send()'s last two lines, which needs to 
switch the request to skip the 202 accepted message with the 
mepclient.execute() which could take time even with async NIO sender

On performance front, I came across a few places where we used Axiom's 
serialize() method instead of serializeAndConsume() - which was due to a bad 
merge from the 1.1 codebase

I am also adding a connection.isStale() check before returning a keepalive 
connection for reuse to improve stability

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to