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

Protocol-okhttp: make connection pool configurable

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 1.18
    • 1.19
    • plugin, protocol
    • None
    • Patch Available

    Description

      OkHttp's ConnectionPool "holds up to 5 idle connections which will be evicted after 5 minutes of inactivity." A pool of this size is suitable for site crawls but not for larger crawls over many different sites / hosts.

      Note: in the current version (4.9.1) the connection pool is implemented as a linked queue. In order to scale beyond pool sizes exceeding 1000 we need to use a set of clients each with its own connection pool.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            snagel Sebastian Nagel
            snagel Sebastian Nagel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment