-
Notifications
You must be signed in to change notification settings - Fork 19
Tiers of Storage
Frequency has and uses a variety of tiers of storage and each has a different use case. When adding new data to any storage it is important to think about the cost and availability guarantees of that tier and think if another tier would be better suited.
Data that can/will be used in future on-chain interactions
- Maximum
- Current Version Always
- Public Key to MSA
- Balances
Data that is written in a transaction, but is NOT used for processing other data or reading
- Currently maximum, but may be able to be reduced through future pruning and sharding ideas
- Current Version Always
- Messages (aka DSNP Announcements)
- Private Graph
Streaming data. Great for knowing knowing state changed, but not getting historical data
- Minimal, but can waste block space
- Effectively time-limited
- Not historically available (post pruning plan)
- Per block notification of new messages in a schema
- MSA key or delegation changes
Great for providing an off-chain RPC of on-chain state data indexed in a different way Could store and process events Could also be anchored to on-chain state
- Moderate
- Not every node may need to use it, but those that do require additional node space and computation
- No guarantees
- Expected to be used for MSA Id to Public Key RPC call
Crust, Filecoin, etc… Could be useful for archiving or additional service availability tiers
- Varies
- Dependent on the host chain and storage contract
- None currently in use
Great for larger data storage Content Addressed Does not have a built in discovery system. Must be be discovered via other storage systems
- Hosting and bandwidth
- Secure only if one or more servers are pinning the data and those servers are available
- DSNP Batch Publication Files in parquet format
aka the normal Internet. Does not have a built in discovery system. Must be be discovered via other storage systems.
- Hosting and bandwidth
- Only if the DNS and host are working
- Videos
- Photos
- Websites