App-paid storage #200
vrypan
started this conversation in
FIP Stage 1: Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Title: App-paid storage
Type: Implementation FIP
Author: @deodad, @varunsrin, @sds, @vrypan
Status: Idea
Abstract
This FIP describes a mechanism that will allow applications to pay for their user’s storage.
This is a raw idea, originally discussed here: https://warpcast.com/v/0xde06c50b. It is mostly put here as a placeholder, and may require significant changes before it can be considered as a candidate for implementation.
Problem
The current cost per storage unit model is one-size-fits-all, but doesn’t actually fit all use cases. Most notably, the fixed cost per user makes it hard to explore models like free trials.
Also, it does not align with the 1/10/100 model (post/reply/read) often found in social networks which indicates most users consume very little storage -yet, in Farcaster they have to pay for it.
Specification
Every delta submitted to the network has a user fid,
u_fid
and is signed by an app (app key, aka signer) witha_fid
.a_fid
has free storage allowance.u_fid
has enough free storage.Implications
Applications can buy storage in bulk to allow their users to use the network. Apps are free to implement their own business model, and offer free trials, freemium, pay per use, pay per month or any other payment model they like, as long as they pay for the storage their users consume.
On the other hand, users that want to preserve their activity for longer than one year, they are free to buy additional storage. Applications can also buy additional storage on behalf of their users (this is already possible).
Storage costs can be more granular and be charged per byte (or maybe MB):
Limitations
Due to its dependency on time, this model is easier to implement if we have global ordering. But it could be implemented before global ordering, if we are comfortable with some assumptions (for example, trusting the timestamp in deltas).
Additional thoughts
This model could also be aligned with the design of Snapchain v2 that includes a “a public snapshot service”. This service can be expanded and work as an archival service, and get paid by user fees, while app fees can go to validators.
Beta Was this translation helpful? Give feedback.
All reactions