项目作者: pnikitakis

项目描述 :
Client/server application for accessing remote files. University project [no.3] for Distributed Systems (Spring 2018).
高级语言: Python
项目地址: git://github.com/pnikitakis/network-file-system.git
创建时间: 2021-02-04T16:04:32Z
项目社区:https://github.com/pnikitakis/network-file-system

开源协议:

下载


network-file-system

Client/server application for accessing remote files. University project [no.3] for Distributed Systems (Spring 2018).

Description

Client can access remote files on server for reading and writing. Client has a virtual cache with LRU eviction policy.

Operations supported:

  • Find/create file (with flags: O_CREAT O_EXCL, O_TRUNC, O_RDWR, O_RDONLY, O_WRONLY)
  • Read n bytes from file
  • Write n bytes from file
  • Change pointer position inside file
  • Set client virtual cache validity

Operation instructions

A visual representation of the system can be found here.

Prerequisites

Python 3.6+

How to run

Start the server script server.py. Then run on client nfs_proto.py to start the application. With demo.py we can access the network filesystem from the terminal.

The configuraton.py file defines whether we include cache in our solution and it’s size.

Authors

Course website

ECE348 Distributed Systems
Assigment instructions can be found here in Greek.