<?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>topic Re: Why dispatch.fetch  is very Slow while retrieving data from Cassandra ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-dispatch-fetch-is-very-Slow-while-retrieving-data-from/m-p/238073#M176128</link>
    <description>&lt;P&gt;Thanks for the response!..In My case though the search results count is very less(1) it is taking 4 to 5 seconds to return the response. In any way can we reduce this time(disatch.fetch) interval?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2016 09:54:35 GMT</pubDate>
    <dc:creator>basilarockiaedw</dc:creator>
    <dc:date>2016-12-01T09:54:35Z</dc:date>
    <item>
      <title>Why dispatch.fetch  is very Slow while retrieving data from Cassandra ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-dispatch-fetch-is-very-Slow-while-retrieving-data-from/m-p/238070#M176125</link>
      <description>&lt;P&gt;I am connecting my hunk application(6.4) to datastax cassandra 3.1 to get the results for monitoring and the results took consistently 5 seconds to render though the table has data in hundreds.&lt;BR /&gt;
I have verified my CassandraERP Connector class also which is hardly taking time in mili seconds to return the response.Could anyone help me in getting this clarified.&lt;/P&gt;

&lt;P&gt;Execution costs&lt;BR /&gt;
Duration (seconds)      Component   Invocations     Input count     Output count&lt;BR /&gt;
    0.00    command.fields  4   1   1&lt;BR /&gt;
    0.00    command.search  4   1   1&lt;BR /&gt;
    0.00    command.search.filter   4   -   -&lt;BR /&gt;
    2.02    command.stdin   3   -   1&lt;BR /&gt;
    2.00    command.stdin.cpd2sr    2   1   1&lt;BR /&gt;
    0.00    command.stdin.calcfields    1   1   1&lt;BR /&gt;
    2.00    command.stdin.cpd2sr.blocked    1   -   -&lt;BR /&gt;
    0.00    command.stdin.kv    1   1   1&lt;BR /&gt;
    0.00    command.stdin.tags  1   1   1&lt;BR /&gt;
    0.00    command.stdin.typer     1   1   1&lt;BR /&gt;
    0.00    command.stdin.fieldalias    1   1   1&lt;BR /&gt;
    0.00    command.stdin.lookups   1   1   1&lt;BR /&gt;
    0.00    dispatch.check_disk_usage   1   -   -&lt;BR /&gt;
    0.06    dispatch.createdSearchResultInfrastructure  1   -   -&lt;BR /&gt;
    0.04    dispatch.evaluate   1   -   -&lt;BR /&gt;
    0.04    dispatch.evaluate.search    1   -   -&lt;BR /&gt;
    &lt;STRONG&gt;4.08  dispatch.fetch  6   -&lt;/STRONG&gt;     -&lt;BR /&gt;
    0.00    dispatch.localSearch    1   -   -&lt;BR /&gt;
    0.00    dispatch.preview    1   -   -&lt;BR /&gt;
    0.00    dispatch.readEventsInResults    1   -   -&lt;BR /&gt;
    0.00    dispatch.stream.local   1   -   -&lt;BR /&gt;
    0.00    dispatch.timeline   6   -   -&lt;BR /&gt;
    0.03    dispatch.writeStatus    8   -   -&lt;BR /&gt;
    0.01    startup.configuration   1   -   -&lt;BR /&gt;
    0.03    startup.handoff     1   -   -&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:52:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-dispatch-fetch-is-very-Slow-while-retrieving-data-from/m-p/238070#M176125</guid>
      <dc:creator>basilarockiaedw</dc:creator>
      <dc:date>2020-09-29T11:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why dispatch.fetch  is very Slow while retrieving data from Cassandra ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-dispatch-fetch-is-very-Slow-while-retrieving-data-from/m-p/238071#M176126</link>
      <description>&lt;P&gt;Based on the docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Search/ViewsearchjobpropertieswiththeJobInspector"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Search/ViewsearchjobpropertieswiththeJobInspector&lt;/A&gt;&lt;BR /&gt;
dispatch.fetch = The time spent waiting for or fetching events from search peers. &lt;/P&gt;

&lt;P&gt;Since you are not getting the data from the Splunk Indexers, I translate this duration as the total time that includes &lt;BR /&gt;
Send CQL to Cassandra + Translate the Cassandra results to JSON + Network and Stream all the results back to the Search Head&lt;/P&gt;

&lt;P&gt;I am running a similar search on few thousands events and getting the same behavior.  The Job inspector shows this message &lt;BR /&gt;
" This search has completed and has returned 1,000 results by scanning 76,790 events in 6.945 seconds (4.64 dispatch.fetch) "&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 17:46:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-dispatch-fetch-is-very-Slow-while-retrieving-data-from/m-p/238071#M176126</guid>
      <dc:creator>rdagan_splunk</dc:creator>
      <dc:date>2016-11-28T17:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why dispatch.fetch  is very Slow while retrieving data from Cassandra ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-dispatch-fetch-is-very-Slow-while-retrieving-data-from/m-p/238072#M176127</link>
      <description>&lt;P&gt;I believe that number also includes the time to start a new JVM (not that this should take 4 seconds).&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 18:21:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-dispatch-fetch-is-very-Slow-while-retrieving-data-from/m-p/238072#M176127</guid>
      <dc:creator>kschon_splunk</dc:creator>
      <dc:date>2016-11-28T18:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why dispatch.fetch  is very Slow while retrieving data from Cassandra ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-dispatch-fetch-is-very-Slow-while-retrieving-data-from/m-p/238073#M176128</link>
      <description>&lt;P&gt;Thanks for the response!..In My case though the search results count is very less(1) it is taking 4 to 5 seconds to return the response. In any way can we reduce this time(disatch.fetch) interval?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 09:54:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-dispatch-fetch-is-very-Slow-while-retrieving-data-from/m-p/238073#M176128</guid>
      <dc:creator>basilarockiaedw</dc:creator>
      <dc:date>2016-12-01T09:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why dispatch.fetch  is very Slow while retrieving data from Cassandra ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-dispatch-fetch-is-very-Slow-while-retrieving-data-from/m-p/238074#M176129</link>
      <description>&lt;P&gt;I saw the same behavior on the Datastax VM.  Overall - 1 results or 100,000 results gave me the same range between 3 to 5 seconds for the dispatch.fetch&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 17:45:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-dispatch-fetch-is-very-Slow-while-retrieving-data-from/m-p/238074#M176129</guid>
      <dc:creator>rdagan_splunk</dc:creator>
      <dc:date>2016-12-01T17:45:35Z</dc:date>
    </item>
  </channel>
</rss>

