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

Add resource usage documentation for ElasticSearchClientServiceImpl

    XMLWordPrintableJSON

Details

    Description

      We observed a significant resource usage when using many ES controller service instances. After investigation, it appears that the ES client relies on a RestClient where the Apache Http Async Client starts by default one dispatcher thread, and a number of worker threads used by the connection manager, as many as the number of locally detected processors (depending on what Runtime.getRuntime().availableProcessors() returns).

      I think it'd be worth adding this in the documentation and the proper annotation where relevant.

      Attachments

        Issue Links

          Activity

            People

              pvillard Pierre Villard
              pvillard Pierre Villard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m