filecoin-project / filecoin-project/lassie
Add temporary environment variables for controlling percentage of traffic to E-IPFS
- Dominant language
- Go
- Stars
- 118
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
Saturn is looking to gradually increase traffic to E-IPFS providers. We currently only support excluding providers 100%. We could build temporary E-IPFS specific dials to control traffic. Providing environment variables for dialing traffic will make future updates increasing or decreasing traffic easier for the Saturn team, as opposed to hard coding values and requiring a Lassie release each time.
#### New Environment Variables
* `LASSIE_EIPFS_PROVIDERS`: A comma delimited list of known E-IPFS peer IDs
* `LASSIE_EIPFS_TRAFFIC_PERCENTAGE`: An integer from 0-100 describing the percentage of traffic that reaches out to EIPFS providers.
* **Example**: a value of `25` will let Lassie reach out to EIPFS providers 25 times out of every 100 occurances of an EIPFS candidate lookup.
2023-04-27 EDIT: Callout that this solution is a temporary short term solution to support troubleshooting
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.