Skip to content

saurabhkoshatwar/Distributed-File-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages