Skip to content

A tool designed to model and simulate various storage tiers within a data management environment (S3, IPFS, FIlecoin)

License

Notifications You must be signed in to change notification settings

easierdata/tiered-storage-simulator

Repository files navigation

Tiered Storage Simulator

This repository simulates fetching data from a distributed storage system with hot, warm, and cold layers.

image

Installation

Clone the repository:

git clone [email protected]:easierdata/tiered-storage-simulator.git

Navigate into the project directory:

cd tiered-storage-simulator

Set up a virtual environment:

cd tiered-storage-simulator
# Install the tkinter version of python3 with brew
brew install [email protected]
python3 -m venv .venv
source venv/bin/activate

Install dependencies:

pip install --upgrade pip
pip install -r requirements.txt

Usage

tieredStorageSimulation.py

This script fetches data from a simulated distributed storage system with hot, warm, and cold layers.

It can run in two modes:

  • Standalone - Runs the simulation logic without a GUI
  • Tinker GUI - Renders an interactive GUI for visualizing the simulation

To switch between modes, set the IN_GUI_MODE variable to True or False.

The cold storage system is simulated using a Flask web server defined in flask_web_server.py. This runs in a separate thread to mimic requests to the storage provider API.

In order to use the S3 integration, rename sample.env to .env and fill in the environment variables with your AWS credentials.

About

A tool designed to model and simulate various storage tiers within a data management environment (S3, IPFS, FIlecoin)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages