Distributed erlang2. 丼仂 舒从仂亠 舒仗亠亟亠仍亠仆仆舒 亳亠仄舒?
亠仍亳 仄仗仂
A distributed system is one
in which the failure of a computer
You didnt even know existed
can render your own computer unusable.
3. 丼仂 舒从仂亠 舒仗亠亟亠仍亠仆仆舒 亳亠仄舒?
丱舒仆亳仍亳舒 亟舒仆仆:
Google BigTable, Amazon SimpleDB,
Hadoop, Cassandra
仄仆仂亢亠于仂 亳, 于 .. 亳 仆舒仗亳舒仆亠 仆舒 Erlang:
Riak, CouchDB
4. 丼仂 舒从仂亠 舒仗亠亟亠仍亠仆仆舒 亳亠仄舒?
弌亠于亳
Google Search, 仂亳从 亊仆亟亠从舒, WhatsApp
仄仆仂亢亠于仂 亳, 于 .. 亳 仆舒仗亳舒仆亠 舒亳仆仂 仆舒
Erlang:
Hadoop, Github
6. 丼仂 舒从仂亠 舒仗亠亟亠仍亠仆仆舒 亳亠仄舒?
仆仂亞仂仗仂仍亰仂于舒亠仍从亳亠 亳亞:
World of Warcraft
World of Tanks
Call of Duty Black Ops
7. 舒亠仄 亳 亟亠仍舒ム?
丱舒仆亳 亟舒仆仆 弍仂仍亠,
亠仄 仄仂亢亠 仗仂仄亠亳 仆舒 仂亟仆仂亶 仄舒亳仆亠
弍舒弍舒于舒 亟舒仆仆 弍仂仍亠,
亠仄 仄仂亢仆仂 仂弍舒弍仂舒 仆舒 仂亟仆仂亶 仄舒亳仆亠
仂于亳 仆舒亟亠亢仆仂 亳亠仄
仂仂亳 仄舒舒弍亳亠仄 亳亠仄,
仗仂仂弍仆 舒亟舒仗亳仂于舒 从 仂 仆舒亞亰从亳
弌亠于亳, 舒仗亠亟亠仍亠仆仆亠 仗仂 于仂亠亶 亳
(CDN -- content delivery network)
13. 丼仂 舒从仂亞仂 仂仂弍亠仆仆仂亞仂 于 Erlang?
仂亠:
亳仄亠亠 仗弍仍亳仆亶
(亠舒亞亳亠 仆舒 仂仗亠亟亠仍亠仆仆亠 仂仂弍亠仆亳)
舒仆亳 于仆亳 亠弍 仂仂礌亳亠 (仆亠从亳亠 亟舒仆仆亠)
仂弍舒亠 亟亞亳仄亳 仗仂亠舒仄亳,
仗仂仍亰 亳 仗弍仍亳仆仄
亳仄亠亠 亰舒从 弍亳亰仆亠-仍仂亞亳从
15. 丼仂 舒从仂亞仂 仂仂弍亠仆仆仂亞仂 于 Erlang?
亳仍仂亢亠仆亳亠:
亳仄亠亠 仗弍仍亳仆亶
舒仆亳 于仆亳 亠弍 亟舒仆仆亠
仂弍舒亠 亟亞亳仄亳 仗亳仍仂亢亠仆亳礆亳,
仗仂仍亰 亳 仗弍仍亳仆仄
亳仄亠亠 亰舒从 弍亳亰仆亠-仍仂亞亳从
16. 丼仂 舒从仂亞仂 仂仂弍亠仆仆仂亞仂 于 Erlang?
丕亰亠仍:
亳仄亠亠 仗弍仍亳仆亶
舒仆亳 于仆亳 亠弍 亟舒仆仆亠
仂弍舒亠 从仍亳亠仆舒仄亳
亳 亟亞亳仄亳 亰仍舒仄亳
亳仄亠亠 亰舒从 弍亳亰仆亠-仍仂亞亳从
17. 丼仂 舒从仂亞仂 仂仂弍亠仆仆仂亞仂 于 Erlang?
仍舒亠:
亳仄亠亠 仗弍仍亳仆亶
舒仆亳 于仆亳 亠弍 亟舒仆仆亠
仂弍舒亠 从仍亳亠仆舒仄亳
亳仄亠亠 亰舒从 弍亳亰仆亠-仍仂亞亳从
23. 丼仂 舒从仂亞仂 仍仂亢仆仂亞仂
于 舒仗亠亟亠仍亠仆仆 亳亠仄舒?
仗亳仄亳亳仆亠 舒亰舒弍仂亳从亳
亟亠仍ム 仆亠磦仆亠 仗亠亟仗仂仍仂亢亠仆亳,
舒 仗仂仂仄 ...
48. 仂亟仍亳 亳 仆从亳亳
Naming Conflict
fun global:random_exit_name/3
fun global:random_notify_name/3
fun global:notify_all_name/3
58. 仂亟仍亳 亳 仆从亳亳
Res = rpc:asyn_call(node, module, function,
arguments)
rpc:yield(Res)
rpc:nb_yield(Res, Timeout)
59. 仂亟仍亳 亳 仆从亳亳
rpc:multicall(Module, Function, Args)
rpc:multicall(Nodes, Module, Function, Args)
rpc:multicall(Module, Function, Args,
Timeout)
rpc:multicall(Nodes, Module, Function, Args,
Timeout)