nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "behnam nikbakht (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NUTCH-1297) it is better for fetchItemQueues to select items from greater queues first
Date Sun, 04 Mar 2012 06:34:02 GMT
it is better for fetchItemQueues to select items from greater queues first
--------------------------------------------------------------------------

                 Key: NUTCH-1297
                 URL: https://issues.apache.org/jira/browse/NUTCH-1297
             Project: Nutch
          Issue Type: Improvement
          Components: fetcher
    Affects Versions: 1.4
            Reporter: behnam nikbakht


there is a situation that if we have multiple hosts in fetch, and size of hosts were different,
large hosts have a long delay until the getFetchItem() in FetchItemQueues class select a url
from them, so we can give them more priority.
for example if we have 10 url from host1 and 1000 url from host2, and have 5 threads, if all
threads first selected from host1, we had more delay on fetch rather than a situation that
threads first selected from host2, and when host 2 was busy, then selected from host1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message