Skip to content

A distributed system to mimic the geospatial distribution of data storage like Google Drive or Dropbox for high availability, scalability, and failure tolerance.

License

Notifications You must be signed in to change notification settings

shashankkapile/MultiStorage-DistributedFileSystem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MultiStorage-DistributedFileSystem

A mini multi-storage distributed system that mimicks geo-spatial distribution of data storage centers similar to cloud storage services like Google Drive, Dropbox etc that ensures abstraction, high availability, scalability and failure tolerance.

Pre-requisites

Install Java and set environment variables. In FileServerImpl.java, change 'E://Movies' path to your own similarly for FileServerImpl2.java

Installation

\server> javac *.javac
\server> start rmiregistry

Starting the 3 servers

\server> java FileServer movies
\server> java FileServer series
\server> java FileServer backup

Copy FileServerIntf.class and FileServerIntf3.java to client dir

\client> javac FileClient.java
\server> java FileClient

How to use

\client> ls
\client> cd movies
\client> ls
\client> cd ..
\client> cd series
\client> ls

Crash any movie or series server and try to access it again from client, backup server should be taking care for the crashed servers.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

A distributed system to mimic the geospatial distribution of data storage like Google Drive or Dropbox for high availability, scalability, and failure tolerance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%