Giter VIP home page Giter VIP logo

mapreducer's Introduction

MapReducer 

Three MapReduce style algorithms for querying statistics related to ingested logs. The aim was to implement various alternatives and comparing threads and processes, considering various types of communications such as pipes and files.

Usage

  • Clone the repository git clone https://github.com/NicolasCamachoP/MapReducer.git
  • Move to the source files directory cd /MapReducerThreads/MapReducer
  • Compile using the makefile included with make

Run it with the following arguments:

  1. Name of the file for data ingest.
  2. Number of logs that the file contains.
  3. Number desired of Mappers.
  4. Number desired of reducers.
  5. Number of intermediaries. (Just for analogp)

The file provided must have the same structure as the log file located in the same folder.

  • analogh Provides a MapReduce implementation based on the use of the fork() method to create processes that can be mappers, intermediaries and reducers. All communication between processes is supported by the use of buffer files, and each step of the query processing is done sequentially.
  • analogh Provides a MapReduce implementation based on the use of the pthread library to create threads that can be mappers and reducers. All intra-thread communication is supported by the use of shared memory buffers, and each step of the query processing is done sequentially.
  • analogh2 Provides a MapReduce implementation based on the use of the pthread library to create threads that can be mappers and reducers. All intra-thread communication is supported by the use of shared memory buffers and each step of the query processing is managed with the use of semaphore operations using the semaphore.h library, allowing non-sequential processing.

Authors

License

MIT

mapreducer's People

Contributors

nicolascamachop 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.