Crates.io | warm-fs |
lib.rs | warm-fs |
version | 0.2.0 |
source | src |
created_at | 2022-02-02 07:54:46.752067 |
updated_at | 2022-02-04 18:17:26.632217 |
description | File system warmer |
homepage | |
repository | https://github.com/imbolc/warm-fs |
max_upload_size | |
id | 525592 |
size | 23,324 |
A File system warmer
Cloud providers tent to restore volumes from snapshots in a cold state:
For volumes that were created from snapshots, the storage blocks must be pulled down from Amazon S3 and written to the volume before you can access them. This preliminary action takes time and can cause a significant increase in the latency of I/O operations the first time each block is accessed (source).
It has methods to estimates total size of particular folder and then recursively read files in a thread pool.
It implements Iterator
giving an access to the warming process intermediate state.
Refer to cli example for progress bar implementation.
We appreciate all kinds of contributions, thank you!
The README.md
file isn't meant to be changed directly. It instead generated from the crate's docs
by the cargo-readme command:
cargo install cargo-readme
src/lib.rs
, or wrapping text in README.tpl
cargo readme > README.md
If you have rusty-hook installed the changes will apply automatically on commit.
This project is licensed under the MIT license.