Updated Cloud Tier (markdown)

Chris Lu 2020-08-30 15:35:02 -07:00
parent ff36cbd1fd
commit c4c2f276d6

@ -16,6 +16,18 @@ If one volume is tiered to the cloud,
* The `.dat` file is moved to the cloud.
* The same O(1) disk read is applied to the remote file. When requesting a file entry, a single range request retrieves the entry's content.
## Benefits
Compared to direct S3 storage, this is both faster and cheaper!
* Cheaper!
* Avoid the API access cost, which will hit your wallet after you went all-in S3.
* Use lower cost storage tiers.
* Compression
* Faster!
* Local access for recent data, skipping one internet trip.
* Only one internet http call to read old data.
## Usage
1. Use `weed scaffold -conf=master` to generate `master.toml`, tweak it, and start master server with the `master.toml`.
1. Use `volume.tier.upload` in `weed shell` to move volumes to the cloud.