Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit the number of times a file can be downloaded #155

Open
charlesbrandt opened this issue Feb 9, 2024 · 1 comment
Open

Limit the number of times a file can be downloaded #155

charlesbrandt opened this issue Feb 9, 2024 · 1 comment

Comments

@charlesbrandt
Copy link
Contributor

In local hosting environments, it's usually not necessary to limit the number of times a dataset is downloaded. However, in public cloud infrastructure, egress fees have the potential to contribute significant costs to the overall platform operation.

This issue explores the best way to allow system operators to control downloads. Some options include:

  • fixed number of downloads per dataset (e.g. first download is free)
  • disable downloads for extremely large datasets

This feature should be configurable for individual Bioloop instances.

This feature may be related to tracking and billing costs on a project by project basis. See also: #58

@deepakduggirala
Copy link
Contributor

It's better to count the number of bytes downloaded by a user in a period of time (month) and have a quota as a limit for that period. Limiting the number of downloads will penalize the downloads of small datasets the same as large datasets.

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

No branches or pull requests

2 participants