Giter Site home page Giter Site logo

sd_communicationpractice's Introduction

MapReduce

GitHub

This is an implementation of MapReduce in python using The PyActor library.

This project consists in the first Distributed Systems practice of URV.

Script's Usage

Using master:

python master.py (num_mappers) (ip*) (program*)
    ip* = If ip is "localhost" it's equal to '127.0.0.1'.
    program* = It can be 'WC' or 'CW' for 'WordCount' or 'CountWord', respectively

Using mapper (many terminals as mappers you want):

python mapper.py (id_mapper*) (ip*)
    id_mapper* = '0 to N-1' mappers you have in master.py.
    ip* = If ip is "localhost" it's equal to '127.0.0.1'.

Tutorial of PyActor

PyActor has many examples and a tutorial explaining all its functionalities. This examples can be found in the 'pyactor/examples' directory of the project. They are also explained in the documentation as a tutorial, hosted at readthedocs.org.

Installation of PyActor

Install with:

sudo pip install pyactor

or Install using:

python setup.py install

Check that works executing the examples:

cd examples
python sample1.py
...

sd_communicationpractice's People

Contributors

danieldi96 avatar nohemitoar 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.