New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/omarsalah448/map-reduce

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/omarsalah448/map-reduce

  • v0.0.0-20240319170341-e7f9f7b06689
  • Source
  • Go
  • Socket score

Version published
Created
Source

Map-Reduce

This project provides an implementation of:

  • A sequential map-reduce library that can support any arbitrary map and reduce functions. (Task 1)

  • A word-count map-reduce application. (Task 2)

  • A distributed implementation of map-reduce that is tolerant to worker failures. (Task 3)

  • To test you can use open a terminal and use "go test -run TestSequentialSingle mapreduce/..." as shown in the figure image

-similary you can use "go test -run TestSequentialMany mapreduce/..." for testing of task 1

  • For task two you can run "go run word_count.go master sequential papers" to run the word count using map reduce,the output is found in a file called "mrtmp.wcnt_seq"

  • Similary for task 3 you can run: go test -run TestBasic mapreduce/... go test -run TestOneFailure mapreduce/... go test -run TestManyFailures mapreduce/...

  • For more detailed explaination please refer to the assignment.pdf

FAQs

Package last updated on 19 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc