-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
35 lines (25 loc) · 1.09 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
INFO:
Using the Erlang actors model,
We created a distributed DB of computer-science researchers' connections.
Each connection is a two or more researchers that wrote some paper or article together.
On that DB run any map-reduce computations for analytics.
For example, get the most connected researchers,
Or get the one that wrote the largest number of articles etc...
HOW-TO:
update IP address in mapReduce1.erl lines:
12-15
update IP address in mapReduce2.erl lines:
15-18
49-52
edit num of comuters in mapReduce2.erl line 7 (COMPUTERS)
limit num of cores in mapReduce2.erl lines 15-18
edit num of comuters in mapReduce1.erl line 9 (COMPUTERS)
edit size of chunks in mapReduce2.erl lines 6 (SPREAD)
type: (with desired number of cores)
erl +S4:4 -setcookie a -name S1@132.72.245.204
erl +S4:4 -setcookie a -name S2@132.72.18.88
erl +S4:4 -setcookie a -name S3@132.72.18.73
erl +S4:4 -setcookie a -name S4@132.72.18.85
c(handleDataNew),c(mapReduce),c(wxBuilderF),c(mapReduce1),c(xmlToDets),c(mapReduce2),c(mapReduceVer3),c(mapReduceMAIN).
observer:start().
mapReduceMAIN:start().