This repository has been archived by the owner on Nov 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
346 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
``` | ||
SIP: ? | ||
SIP: 9 | ||
Title: Bandwidth Reputation and Accounting | ||
Author: Braydon Fuller <[email protected]> | ||
Status: Draft | ||
|
@@ -26,7 +26,7 @@ There are three perspectives for each shard transfer; the Client, Bridge and Far | |
- The Client will then send an *Exchange Report* on the SUCCESS or FAILURE of that transfer. Each report MUST match with a corresponding *Storage Event*, otherwise it should be ignored. | ||
- A report from the Farmer can help confirm failure on the Client. However accurate reporting shouldn't be expected. As we can see by taking a look at the possible combinations and how the discrepancies can be resolved, and that the most relevant data is from the Client: | ||
|
||
![Resolving discrepancies in perspectives](sip-bandwidth/exchange-reports.png) | ||
![Resolving discrepancies in perspectives](sip-0009/reports.png) | ||
|
||
A Client report of a FAILURE or otherwise UNKNOWN will be handled with special consideration for the purpose to encourage it's only used when there is actual FAILURE. | ||
- There will be a limited percentage of unconfirmed FAILURE reports to total reports that can be made — there should only be a small part of the network that isn't cooperating. | ||
|
@@ -80,7 +80,7 @@ A report from a Farmer MUST be signed to authenticate it, the signature should f | |
|
||
### Reputation | ||
|
||
A periodic script can query *Storage Events* between two points in time and apply those results to a bandwidth reputation metric on a contact. This could be based on a rolling window or estimated moving average as similar to `timeoutRate` and `responseTime` currently on a contact. | ||
A periodic script can query *Storage Events* between two points in time and apply those results to a bandwidth reputation metric on a contact. This could be based on a rolling window or estimated moving average as similar to `timeoutRate` and `responseTime` currently on a contact. | ||
|
||
Reference Implementation | ||
------------------------ | ||
|
File renamed without changes
Oops, something went wrong.