Elixir 初尝试 5 -- 遇见Actor
生活随笔
收集整理的這篇文章主要介紹了
Elixir 初尝试 5 -- 遇见Actor
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
Actor模型的定義
wiki如是說
The actor model in computer science is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation. In response to a message that it receives, an actor can: make local decisions, create more actors, send more messages, and determine how to respond to the next message received. Actors may modify private state, but can only affect each other through messages (avoiding the need for any locks).總結(jié)
以上是生活随笔為你收集整理的Elixir 初尝试 5 -- 遇见Actor的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 做梦梦到龙了是什么征兆
- 下一篇: python面向对象-1方法、构造函数