Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

OnlineFileSource should throttle the number of concurrent requests #3858

Closed

Description

@jfirebaugh

Offline downloads can produce a large number of concurrent requests, bloating memory, overloading the network connection, and causing many of the requests to time out. In order to avoid these problems, OnlineFileSource should throttle concurrent requests at a reasonable number, placing throttled requests in a queue for execution once existing requests have completed.

This could be implemented in the offline code itself, but I think it makes more sense in OnlineFileSource, because there could be non-offline corner cases that also generate a large number of simultaneous requests, for example with huge screens. These should also be throttled.

Activity

  1. jfirebaugh commented on Feb 9, 2016

    @jfirebaugh
    ContributorAuthor

    Included in #3715.

  2. tmpsantos commented on Feb 9, 2016

    @tmpsantos
    Contributor

    👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions