Hey Michael,

On Sat, 27 Aug 2005 21:13:27 -0700 (PDT), Michael Ji wrote:
> Hi Kelvin:
>
> I started to dig into the code and data structure of OC;
>
> Just curious questions:
>
> 1) Where OC forms a fetchlist? I didn't see it in segment/ of OC
> created.

Crawls are seeded using a CrawlSeedSource. These urls are injected into the 
respective FetcherThread's fetchlists.

After the initial seed, URLs are added to fetchlists from the parsed pages 
outlinks. OC builds the fetchlist online vs nutch's offline fetchlist building.

>
> 2) In OC, FetchList is organized in such a way of URLs sequence per
> host. Then, what if there are too many hosts, saying ten thousand.
> How about I/O performance concern? Will it exceed the system open-
> file limitation?
>

The concern, if any, would be memory, not i/o, because DefaultFetchList 
currently stores everything in memory. Still, its an interface, and simple for 
someone to implement a fetchlist that has bounds on memory, persisting to disk 
where appropriate.

k



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to