Matt Kangas wrote:
> Ah, I misspoke. What I meant by "bad idea" was that having N
> FetcherThreads calling one RegexURLFilter may negate the performance
> gain of doing the filtering inside FetcherThread. So it's not bad as
> in "go boom", just "go slow".
>
> (RegexURLFilter.filter() is already synchronized; URLFilter.filter() is not.)
It's usually pretty easy to replace fields that must be synchronized
with ThreadLocals in order to make a class re-entrant. Perhaps we
should do this to RegexURLFilter?
Doug
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....
http://www.thinkgeek.com/sfshirt
_______________________________________________
Nutch-developers mailing list
Nutch-developers@list...
https://lists.sourceforge.net/lists/listinfo/nutch-developers
opensubscriber is not affiliated with the authors of this message nor responsible for its content.