Create a cost-calculator in the Vault [Roadmap - Share]
Milestone ID: 121
- Lead: vlorentz
- Priority: medium
- Effort: ??
Implement a cost-calculator feature in swh-vault in order to estimate the cost of computing before cooking an artifact. The purpose of this feature is to prevent overload in some edge cases and possibly establish a rate-limiting system to avoid abusive usage of the vault.
- Design calculation rules
- Implement the cost-calculator
- Make it configurable according to the user profile
- Cost-calculation activated on swh-vault in production