License Crates.io Docs.rs

warm-fs

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.

Contributing

We appreciate all kinds of contributions, thank you!

Note on README

The README.md file isn't meant to be changed directly. It instead generated from the crate's docs by the [cargo-readme] command:

If you have [rusty-hook] installed the changes will apply automatically on commit.

License

This project is licensed under the MIT license.