<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Can NiFi handle multiple users hitting a request? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Can-NiFi-handle-multiple-users-hitting-a-request/m-p/405288#M252446</link>
    <description>&lt;P&gt;Can NiFi handle multiple users hitting a request? Say I have&amp;nbsp;HandleHttpRequest or a ListenHttp processor and my requirement is to handle say 100 concurrent users. Can we do it in NiFi?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Apr 2025 13:04:21 GMT</pubDate>
    <dc:creator>AlokKumar</dc:creator>
    <dc:date>2025-04-02T13:04:21Z</dc:date>
    <item>
      <title>Can NiFi handle multiple users hitting a request?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-NiFi-handle-multiple-users-hitting-a-request/m-p/405288#M252446</link>
      <description>&lt;P&gt;Can NiFi handle multiple users hitting a request? Say I have&amp;nbsp;HandleHttpRequest or a ListenHttp processor and my requirement is to handle say 100 concurrent users. Can we do it in NiFi?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 13:04:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-NiFi-handle-multiple-users-hitting-a-request/m-p/405288#M252446</guid>
      <dc:creator>AlokKumar</dc:creator>
      <dc:date>2025-04-02T13:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can NiFi handle multiple users hitting a request?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-NiFi-handle-multiple-users-hitting-a-request/m-p/405346#M252460</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114561"&gt;@AlokKumar&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The simple answer is it is possible.&amp;nbsp; both the ListenHTTP and HandleHTTPRequest processors create an embedded Jetty server with a default 200 threads for handling inbound http requests.&amp;nbsp; &amp;nbsp;The Concurrent Tasks are used to covert the http requests into NiFi FlowFiles.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The HandleHTTPRequest processor also requires a HandleHTTPResponse processor.&amp;nbsp; The HandleHTTPRequest processor also has a configurable "&lt;STRONG&gt;Container Queue Size&lt;/STRONG&gt;" (default 50).&lt;BR /&gt;&lt;BR /&gt;I would recommend using the HandleHTTPRequest and HandleHTTPResponse processors.&lt;BR /&gt;I would increase the "&lt;STRONG&gt;Container Queue Size&lt;/STRONG&gt;" to 100.&amp;nbsp; I would increase the Concurrent tasks to maybe 5 and monitor your throughput (Avoid just setting some high value here. Should only increment slowly as you monitor cpu load average and throughput performance). Keep in mind that concurrent tasks are requesting threads from the NIFi Max Timer Driven thread Pool (default: 10) that you would also need to increase (typical starting value is 2 to 4 times the number of CPU cores on your NiFi node).&lt;BR /&gt;&lt;BR /&gt;I say above is the "simple" answer since this is probably not the only dataflow running on your NiFi.&amp;nbsp; Every component has dome impact in CPU load average (some significant and other almost non-measurable).&amp;nbsp; So the key here is monitor CPU load average, disk I/o, and network performance and adjust your NiFi component concurrent tasks incrementally keeping in this in mind to maximize your CPU usage to maximize your throughput.&amp;nbsp; If you exhaust your available CPU or Disk I/O, those may limit your capabilities more then NiFi processors do.&amp;nbsp; This is a task of tuning and monitoring and tuning again.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 18:55:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-NiFi-handle-multiple-users-hitting-a-request/m-p/405346#M252460</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-04-02T18:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can NiFi handle multiple users hitting a request?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-NiFi-handle-multiple-users-hitting-a-request/m-p/405380#M252468</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 10:56:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-NiFi-handle-multiple-users-hitting-a-request/m-p/405380#M252468</guid>
      <dc:creator>AlokKumar</dc:creator>
      <dc:date>2025-04-03T10:56:39Z</dc:date>
    </item>
  </channel>
</rss>

