Scaled Storage
Scaled Storage is a multi-canister scaling solution for the Internet Computer.
Features
- Imported as a Rust library
- Scales up or down depending on developer defined behaviour.
- “Quine” style canister replication. All canisters are functionally alike and use the same code.
- House keeping operations (migrations, scaling up and down) are abstracted away.
- There isn’t a “primary”, “index” or “secondary” canister, any request can be taken from any canister.
- Tries to reduce inter-canister calls.
Run canister scaling test
The test uses a rust canister consuming the library. The canister has been configured to scale up after 10 keys have been added. It checks that all operations are successful, and can be done from any canister.
Steps
- Run
cargo build --bins
- Run
./deploy_dev.sh
- Benchmark using:
./test_dev.sh [number_of_keys]
.
If you for example run ./test_dev.sh 100
10 canisters would be created.
Usage
https://crates.io/crates/scaled_storage
MIT LICENSE