Coder Social home page Coder Social logo

ds's Introduction

Tarea 1 Sistemas Distribuidos

Authors: César Muñoz and Loreto Ñancucheo

Stack

Video

Setup

In both the server and client directories, run:

npm i

Docker

To bring up Docker Compose (depending on the caching method), use:

docker-compose up -d

To bring down Docker Compose

docker-compose down -v

Server

For server operations:

npm run start

Client

For client operations, you have three options:

# to use clasic cache
npm run start-clasic

# to use partition cache
npm run start-partition

# to use replica cache
npm run start-replica

Testing

In test directory, for uniform test:

python3 uniform-test.py

for the entropy test:

python3 entropy-test.py

Miscellaneous

In case db-init is missing permissions:

sudo setenforce 0
sudo chcon -Rt svirt_sandbox_file_t ./db-init/

If subnet 173.18.0.0/16 is occupied:

sudo docker network ls

sudo docker network inspect [network_name]

sudo docker network rm [network_name]

ds's People

Contributors

loretito avatar cesarmunozr 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.