Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-628

Host database to keep track of host-level information

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • fetcher, generator
    • None
    • Patch Available

    Description

      Nutch would benefit from having a DB with per-host/domain/TLD information. For instance, Nutch could detect hosts that are timing out, store information about that in this DB. Segment/fetchlist Generator could then skip such hosts, so they don't slow down the fetch job. Another good use for such a DB is keeping track of various host scores, e.g. spam score.

      From the recent thread on nutch-user@lucene:

      Otis asked:
      > While we are at it, how would one go about implementing this DB, as far as its structures go?

      Andrzej said:
      The easiest I can imagine is to use something like <Text, MapWritable>.
      This way you could store arbitrary information under arbitrary keys.
      I.e. a single database then could keep track of aggregate statistics at
      different levels, e.g. TLD, domain, host, ip range, etc. The basic set
      of statistics could consist of a few predefined gauges, totals and averages.

      Attachments

        1. NUTCH-628-HostDb.patch
          17 kB
          Otis Gospodnetic
        2. NUTCH-628-DomainStatistics.patch
          7 kB
          Otis Gospodnetic
        3. domain_statistics_v2.patch
          7 kB
          Dogacan Guney

        Issue Links

          Activity

            People

              Unassigned Unassigned
              otis Otis Gospodnetic
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: