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

Separate Max SimultaneousTransfers configuration for storage and retrieval deals #7031

Closed
3 tasks done
jennijuju opened this issue Aug 11, 2021 · 3 comments
Closed
3 tasks done

Comments

@jennijuju
Copy link
Member

Checklist

  • This is not a new feature or an enhancement to the Filecoin protocol. If it is, please open an FIP issue.
  • This is not brainstorming ideas. If you have an idea you'd like to discuss, please open a new discussion on the lotus forum and select the category as Ideas.
  • I have a specific, actionable, and well motivated feature request to propose.

Lotus component

Other

What is the motivation behind this feature request? Is your feature request related to a problem? Please describe.

Currently, SimultaneousTransfers apply for all deals, storage providers can benefit from the separate configuration for storage and retrieval deals so they have more control over their service.

Describe the solution you'd like

Separate Max SimultaneousTransfers configuration for storage and retrieval deals

Describe alternatives you've considered

No response

Additional context

No response

@rjan90
Copy link
Contributor

rjan90 commented Aug 11, 2021

Storage Providers can get a lot of deals from one client (i.e Esturay) simultaneously, that can/will stay in a transferring state for a long time. If the Storage Provider then has a low/normal MaxSimultaneousTransfers=20, and the amount of storage-deals from that client are equal to this, another client (i.e web3.storage) could potentially be blocked from retrieving a file they have previously stored with the storage provider earlier.

Separating this into a configuration for both storage-deals and for retrieval-deals will allow the storage provider to always serve retrievals in a situation where they have a lot of storage-deals transferring.

@neondragon
Copy link

This makes sense to me. It increases flexibility and has no significant disadvantage that I can think of.

@jennijuju
Copy link
Member Author

duplicated with #7030

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

3 participants