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

docs: w3filecoin feedback changes #75

Merged
merged 8 commits into from
Sep 14, 2023
Merged

docs: w3filecoin feedback changes #75

merged 8 commits into from
Sep 14, 2023

Conversation

alanshaw
Copy link
Member

I was going to submit an issue but then I decided it might be quicker to send a PR.

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 |
Copy link
Member Author

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"?

Copy link
Collaborator

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 |
Copy link
Member Author

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?! :trollface:

Copy link
Collaborator

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.

Copy link
Contributor

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 Show resolved Hide resolved
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.
Copy link
Member Author

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"?

Copy link
Collaborator

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 |
Copy link
Collaborator

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 |
Copy link
Collaborator

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 Show resolved Hide resolved
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).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Collaborator

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.

Copy link
Contributor

@vasco-santos vasco-santos left a 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 |
Copy link
Contributor

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"

@alanshaw
Copy link
Member Author

I also added a ToC because it is a big one.

Screenshot 2023-09-13 at 16 58 21

Copy link
Contributor

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alanshaw alanshaw merged commit 195f318 into main Sep 14, 2023
2 checks passed
@alanshaw alanshaw deleted the w3fil-feedback branch September 14, 2023 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants