Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4834

ConsumeJMS does not scale when given more than 1 thread

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • Extensions
    • None

    Description

      When I run ConsumeJMS against a local broker, the performance is great. However, if I run against a broker that is running remotely with a 75 ms round trip time (i.e., somewhat high latency), then the performance is pretty poor, allowing me to receive only about 30-40 msgs/sec (1-2 MB/sec).

      Increasing the number of threads should result in multiple connections to the JMS Broker, which would provide better throughput. However, when I increase the number of Concurrent Tasks to 10, I see 10 consumers but only a single connection being created, so the throughput is no better (in fact it's a bit slower due to added lock contention).

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: