Skip to content

Repository files navigation

distributed-storage

Install

pip install . -r requirements.txt

Usage

  • Create database servers' config files and specify their hostname, port, database names and paths.
  • Create hashring object with some parameters and save it in the file, and then add database servers' hosts in ring.
  • Create router server config and specify its hostname, port and path to hashring file.
  • Run database and router servers with their configs in any order.
  • Get, add, remove keys in databases with client module.
CommandDescription
storage_server -hshow server module help
storage_client -hshow client module help
storage_ring -hshow hashring module help

Run tests

pytest

Author

Artyom Borisov

About

distributed key-value storage university project

Topics

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages