[ https://issues.apache.org/jira/browse/NUTCH-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16430526#comment-16430526 ]
Sebastian Nagel commented on NUTCH-2455: ---------------------------------------- Hi [~semyon.semyo...@mail.com], yes, please, resolve the conflicts and remove or address the TODOs in the code. Thanks! ??we ran it several times for number of hosts in between 100 000 and 2 000 000 , it worked quite well.?? It will probably not scale up to 10-100 millions of hosts. But that's ok for now, as Generator is limited regarding the number of hosts because also the number of URLs per host is also kept in a HashMap. > Speed up the merging of HostDb entries for variable fetch delay > --------------------------------------------------------------- > > Key: NUTCH-2455 > URL: https://issues.apache.org/jira/browse/NUTCH-2455 > Project: Nutch > Issue Type: Improvement > Components: generator > Affects Versions: 1.13 > Reporter: Markus Jelsma > Priority: Major > Attachments: NUTCH-2455.patch > > > Citing Sebastian at NUTCH-2420: > ??The correct solution would be to use <host,score> pairs as keys in the > Selector job, with a partitioner and secondary sorting so that all keys with > same host end up in the same call of the reducer. If values can also hold a > HostDb entry and the sort comparator guarantees that the HostDb entry > (entries if partitioned by domain or IP) comes in front of all CrawlDb > entries. But that would be a substantial improvement...?? -- This message was sent by Atlassian JIRA (v7.6.3#76005)