Git Product home page Git Product logo

sd-project's Introduction

TupleSpaces

Distributed Systems Project 2024

Group A18

(choose one of the following levels and erase the other one)
Difficulty level: I am Death incarnate!

Code Identification

In all source files (namely in the groupIds of the POMs), replace GXX with your group identifier. The group identifier consists of either A or T followed by the group number - always two digits. This change is important for code dependency management, to ensure your code runs using the correct components and not someone else's.

Team Members

Number Name User Email
99309 Rafael Girão https://github.com/rafaelsgirao mailto:[email protected]
102082 Simão Sanguinho https://github.com/simaosanguinho mailto:[email protected]
103252 José Pereira https://github.com/pereira0x mailto:[email protected]

Getting Started

The overall system is made up of several modules. The different types of servers are located in ServerX (where X denotes stage 1, 2 or 3). The clients is in Client. The definition of messages and services is in Contract. The future naming server is in NamingServer.

See the Project Statement for a complete domain and system description.

Prerequisites

The Project is configured with Java 17 (which is only compatible with Maven >= 3.8), but if you want to use Java 11 you can too -- just downgrade the version in the POMs.

To confirm that you have them installed and which versions they are, run in the terminal:

javac -version
mvn -version

Installation

To compile and install all modules:

mvn clean install

Execution

Go to the Contract directory and run the following command:

mvn exec:exec

Then, go to the NameServer directory and run the following command:

python3 server.py

Then, go to the ServerR1 directory and run the following command:

mvn compile exec:java

Then, go to the Client directory and run the following command:

mvn compile exec:java

Debugging

To debug the NameServer, run the following command:

python3 server.py -debug

To debug the Client and ServerR1, run the following command:

mvn compile exec:java -Ddebug

Built With

  • Maven - Build and dependency management tool;
  • gRPC - RPC framework.

sd-project's People

Contributors

rafaelsgirao avatar pereira0x avatar simaosanguinho avatar joaopedrobarreto avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.