-
Notifications
You must be signed in to change notification settings - Fork 0
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
docs: w3filecoin feedback changes #75
Conversation
w3-filecoin.md
Outdated
| Aggregator | [Principal] identified by `did:key` identifier, representing a storage aggregator like w3filecoin | | ||
| Dealer | [Principal] identified by `did:key` identifier that arranges filecoin deals with storage providers. e.g. Spade | | ||
| Chain Tracker | [Principal] identified by `did:key` identifier that tracks the filecoin chain | | ||
| Storefront | [Principal] identified by a DID, representing a storage API like web3.storage | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason for specifying the DID method as well in the spec? Is it not enough to say "a DID"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, I don't think we need to captured our implementation details in the spec.
w3-filecoin.md
Outdated
| Storefront | [Principal] identified by a DID, representing a storage API like web3.storage | | ||
| Aggregator | [Principal] identified by a DID, representing a storage aggregator like w3filecoin | | ||
| Dealer | [Principal] identified by a DID, that arranges filecoin deals with storage providers. e.g. Spade | | ||
| Deal Tracker | [Principal] identified by a DID, that tracks deals made by the Dealer | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was suggested previously but why not "Deal Tracker"? Lots of things are stored on chain, but we're only interested in the deals. Also blockchain is an artefact of the chosen storage system - maybe in the future we might make deals for storage providers that don't operate on a blockchain?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree and I think deal tracker is a better name. I think "deal monitor" maybe even better one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this makes sense. I have actually been calling it Deal Tracker for the project. I think monitoring might create confusion with the monitoring/alerting stuff for SLA, so here I would stick to "Deal Tracker"
w3-filecoin.md
Outdated
|
||
# Protocol | ||
|
||
## Overview | ||
|
||
A Storefront is web2 to web3 bridge. It ingests user/application data through a conventional web2 interface and replicates it across various storage systems, including Filecoin Storage Providers. Content supplied to a Storefront can be of arbitrary size, while (Filecoin) Storage Providers demand large (>= 16GiB) content pieces. To align supply and demand requirements, the aggregator accumulates supplied content pieces into a larger verifiable aggregate pieces per [FRC-0058](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0058.md) that can be stored by Storage Providers. | ||
A Storefront is a service that ensures content addressed user/application data is stored perpetually on the decentralized web. A Storefront ingests user/application data and replicates it across various storage systems, including Filecoin Storage Providers. Content supplied to a Storefront can be of arbitrary size, while (Filecoin) Storage Providers demand large (>= 16GiB) content pieces. To align supply and demand requirements, the aggregator accumulates supplied content pieces into a larger verifiable aggregate pieces per [FRC-0058](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0058.md) that can be stored by Storage Providers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to say "web2 to web3 bridge"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think proposed version reads better.
w3-filecoin.md
Outdated
| Aggregator | [Principal] identified by `did:key` identifier, representing a storage aggregator like w3filecoin | | ||
| Dealer | [Principal] identified by `did:key` identifier that arranges filecoin deals with storage providers. e.g. Spade | | ||
| Chain Tracker | [Principal] identified by `did:key` identifier that tracks the filecoin chain | | ||
| Storefront | [Principal] identified by a DID, representing a storage API like web3.storage | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, I don't think we need to captured our implementation details in the spec.
w3-filecoin.md
Outdated
| Storefront | [Principal] identified by a DID, representing a storage API like web3.storage | | ||
| Aggregator | [Principal] identified by a DID, representing a storage aggregator like w3filecoin | | ||
| Dealer | [Principal] identified by a DID, that arranges filecoin deals with storage providers. e.g. Spade | | ||
| Deal Tracker | [Principal] identified by a DID, that tracks deals made by the Dealer | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree and I think deal tracker is a better name. I think "deal monitor" maybe even better one.
w3-filecoin.md
Outdated
|
||
A Storefront facilitates data storage services to applications and users, getting the requested data stored into Filecoin deals asynchronously. | ||
|
||
### Aggregator | ||
|
||
An _Aggregator_ is a type of [principal] identified by a `did:key` identifier. | ||
An _Aggregator_ is a type of [principal] identified by a DID (typically a `did:key` identifier). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An _Aggregator_ is a type of [principal] identified by a DID (typically a `did:key` identifier). | |
An _Aggregator_ is a type of [principal] identified by a DID. It is RECOMMENDED to use use [`did:key`] identifier as due to their stateless nature. |
w3-filecoin.md
Outdated
|
||
# Protocol | ||
|
||
## Overview | ||
|
||
A Storefront is web2 to web3 bridge. It ingests user/application data through a conventional web2 interface and replicates it across various storage systems, including Filecoin Storage Providers. Content supplied to a Storefront can be of arbitrary size, while (Filecoin) Storage Providers demand large (>= 16GiB) content pieces. To align supply and demand requirements, the aggregator accumulates supplied content pieces into a larger verifiable aggregate pieces per [FRC-0058](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0058.md) that can be stored by Storage Providers. | ||
A Storefront is a service that ensures content addressed user/application data is stored perpetually on the decentralized web. A Storefront ingests user/application data and replicates it across various storage systems, including Filecoin Storage Providers. Content supplied to a Storefront can be of arbitrary size, while (Filecoin) Storage Providers demand large (>= 16GiB) content pieces. To align supply and demand requirements, the aggregator accumulates supplied content pieces into a larger verifiable aggregate pieces per [FRC-0058](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0058.md) that can be stored by Storage Providers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think proposed version reads better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the changes look good to me! This PR will need to be rebased to get the new capabilities separation from queue
and enqueue
separation
w3-filecoin.md
Outdated
| Storefront | [Principal] identified by a DID, representing a storage API like web3.storage | | ||
| Aggregator | [Principal] identified by a DID, representing a storage aggregator like w3filecoin | | ||
| Dealer | [Principal] identified by a DID, that arranges filecoin deals with storage providers. e.g. Spade | | ||
| Deal Tracker | [Principal] identified by a DID, that tracks deals made by the Dealer | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this makes sense. I have actually been calling it Deal Tracker for the project. I think monitoring might create confusion with the monitoring/alerting stuff for SLA, so here I would stick to "Deal Tracker"
b5e8f04
to
e12e0eb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I was going to submit an issue but then I decided it might be quicker to send a PR.