Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
github.com/john-micheal/map-reduce
• MapReduce is a programming model used for efficient processing in parallel over large data-sets in a distributed manner. The data is first split and then combined to produce the final result.
• The purpose of MapReduce in Hadoop is to Map each of the jobs and then it will reduce it to equivalent tasks for providing less overhead over the cluster net
0- Open 7 different terminals on vs code 1- Run salves from 1 to 5 each on different terminal tabs 2- Run divide_chunks_on_slaves function from master.go file 3- Comment divide_chunks_on_slaves function and uncomment master as server function then run master.go file again
if client wants chunks uncomment first get request 4.1- Choose desired chunk number by changing id value from the get request at client.go file then run client.go Note : id=0 will write all chunks after gathering them from slaves
if client wants mapReduce aka base count 4.2- leave current get request
When connecting with other devices only change ip addresses from master file don't change port number only 192.168.1.5 part "http://192.168.1.5:8090/fasta/baseCount" ---> "http://192.168.14.78:8090/fasta/baseCount"
This Steps for first time running after that you can ignore step 2 because you had already made the chunks and divided them over slaves so no need to run it again except if you deleted slaves.fasta files aka chunks
FAQs
Unknown package
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.