[ http://issues.apache.org/jira/browse/NUTCH-289?page=all ]
Stefan Groschupf updated NUTCH-289:
-----------------------------------
Attachment: ipInCrawlDatumDraftV4.patch
Attached a patch that does only use any time 4 byte for the ip. Means we do
ignore ipv6. This save us a 4 byte in each crawldatum for now.
I tested the resolver tool with a 200++mio crawldb and in average a performance
of 500 IP lookups / sec per box is possible by using 1000 threads.
I really would love to get this into the sources as the basic version of having
the IP address in the crawlDatum, since I'm working on a tool set of spam
detectors that all need ip adresses somehow.
May be let's exclude the tool but start with the crawlDatum? :-?
Any improvement suggestions?
Thanks.
> CrawlDatum should store IP address
> ----------------------------------
>
> Key: NUTCH-289
> URL: http://issues.apache.org/jira/browse/NUTCH-289
> Project: Nutch
> Type: Bug
> Components: fetcher
> Versions: 0.8-dev
> Reporter: Doug Cutting
> Attachments: ipInCrawlDatumDraftV1.patch, ipInCrawlDatumDraftV4.patch
>
> If the CrawlDatum stored the IP address of the host of it's URL, then one
> could:
> - partition fetch lists on the basis of IP address, for better politeness;
> - truncate pages to fetch per IP address, rather than just hostname. This
> would be a good way to limit the impact of domain spammers.
> The IP addresses could be resolved when a CrawlDatum is first created for a
> new outlink, or perhaps during CrawlDB update.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers