Uploaded image for project: 'Synapse'
  1. Synapse
  2. SYNAPSE-342

Improvements for issues found during Performance and Load testing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.2-beta1
    • 1.2
    • Core, Transports
    • None

    Description

      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

      Attachments

        Activity

          People

            asankha Asankha Chamath Perera
            asankha Asankha Chamath Perera
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: