Coder Social home page Coder Social logo

m5's Introduction

M5: Distributed Execution Engine

Full name: Jackson Davis Email: [email protected] Username: jdavis70

Summary

I faced challenges involved with communicating with the different nodes I was working with and implementing the different workflows.

My implementation comprises 1 new software components, totaling 550 added lines of code over the previous implementation. Key challenges included:

  1. Coordinating communication and data transfer between the coordinator and worker nodes during the different MapReduce phases. I solved this by carefully designing the message passing and notification system using the existing distribution framework.
  2. Implementing the shuffle phase to correctly partition and distribute the map output to the appropriate reducer nodes. I addressed this by leveraging consistent hashing and introducing a new append method in the store to efficiently group the shuffled data.

Correctness & Performance Characterization

Describe how you characterized the correctness and performance of your implementation

Correctness: I characterized the correctness of my implementation by:

  1. Developing comprehensive test cases that cover various workflows and edge cases
  2. Comparing the output of the distributed execution with the expected results from local execution
  3. Validating the behavior of individual components like the coordinator, mappers, and reducers

Performance:I characterized the performance of my implementation by:

  1. Measuring the execution time of MapReduce jobs with varying input sizes and comparing it with local execution
  2. Evaluating the impact of additional features like compaction on overall performance

Key Feature

Which extra features did you implement and how?

  • Compaction functions: I added support for user-defined compact functions that can be run on the map output to minimize data transfer between the map and reduce tasks. This is achieved by aggregating values with the same key before shuffling, reducing network bandwidth usage.

Time to Complete

Roughly, how many hours did this milestone take you to complete?

Hours: 30-35

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.