Giter VIP home page Giter VIP logo

filipegmiranda / typed-mapreduce Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 27 KB

A "Typed" MapReduce, is a MapReduce Engine developed in Scala, Akka, using FP and OOP - contribute to learn more about FP

Home Page: https://filipegmiranda.github.io/typed-mapreduce/

License: Apache License 2.0

Scala 100.00%
akka big-data educational functional-programming hadoop jvm jvm-languages mapreduce scala

typed-mapreduce's People

Contributors

filipegmiranda avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

yinmazhong

typed-mapreduce's Issues

Job API, and engine should allow the input of more than one Path, and Allow more than one Mapper

As in MapReduce, it should be possible to give more than one inputPath to a Job, and associate this
Input to a Mapper.

Initially, what I think is that the inputs and mappers may be represented in a Seq[(Input, Mapper)]

Each Input and a mapper is used by a Mapper Coordinator(new Actor at this point), and this actor reads the input data with the respect chinks and passes to the Mappers under it.

This allows also the Input and Mappers to be recovered at this level of granularity, so that, the MapReduceCoordinator Actor, upon Failure of one of its Mappers Coordinators, restarts that Mappers Coordinator. (Need to think carefully here, maybe this should be configured)

Check and Implement Back-Pressure over the MapReduce phase

Today the Job starts and loads the Actors Mappers with "income" data, which may lead OutOfMemory errors. In other words, it just throws data to the mappers as it is capable of reading it.

We should check whether a back pressure algorithm may help better control the data flow, and actually make the Mappers and Reducers ask for work instead.

To test, increase the amount of lines in InMemoryDataSetInput(), the property: multiplyEachBy = 1000000
or more, the default can still be 1000 (one thousand)

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.