description |
---|
A storage model defines how data is stored within a system. This page covers the basic aspects of Filecoin’s storage model. |
The Filecoin storage model consists of three main components:
- Providers
- Deals
- Sectors
Providers offer storage and retrieval services to network users. There are two types of providers:
- Storage Providers
- Retrieval Providers
Storage providers, often called SPs, are responsible for storing files and data for clients on the network. They also provide cryptographic proofs to verify that data is stored securely. The majority of providers on the Filecoin network are SPs.
Retrieval providers, or RPs, specialize in delivering quick access to data rather than long-term storage. While many storage providers also offer retrieval services, stand-alone RPs are increasingly joining the network to enhance data accessibility.
In the Filecoin network, SPs and RPs offer storage or retrieval services to clients through deals. These deals are negotiated between two parties and outline terms such as data size, price, duration, and collateral.
The deal-making process initially occurs off-chain. Once both parties agree to the terms, the deal is published on-chain for network-wide visibility and validation.
Sectors are the fundamental units of provable storage where storage providers securely store client data and generate PoSt (Proof of Spacetime) for the Filecoin network. Sectors come in standard sizes, typically 32 GiB
or 64 GiB
, and have a set lifespan that providers can extend before it expires.