forked from duomark/erlangsp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
32 lines (21 loc) · 785 Bytes
/
notes.txt
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
Heriot-Watt
Patrick Maier
http://www.macs.hw.ac.uk/~pm175/F21DP2/l08_handout.pdf
Parallel Programming Design Patterns + Algorithmic Skeletons
Pipeline
Parallel Tasks (Sort onto different tasks)
Task Farm (Farmer does scatter/gather)
Task Farm (Chain gain doesn't work in erlang)
Divide & Conquer (Recursive skeleton)
ParaPhrase
http://backus.di.unipi.it/~marcod/Talks/pdp12.pdf
OTP Features needed:
1) Spawn blocks of procs (100-100K)
2) Kill blocks of procs (100-1M linked procs)
3) Dialyzer to check message send/receive
- More procs =:= more msgs and more no_return() functions
4) High-speed ACK for synchronous message passing
Examples to build:
1) Distributed Cache
2) HTTP Parsing / WebMachine
3) Kademlia DHT (TeleHash / Singly / Locker Project)