2016年12月26日月曜日

akkaまたはgo言語の類似の代替手段を使用して分散同時実行性をサポートしますか?

勉強の為に引用しました。
I quoted it for study.
http://stackoverflow.com/questions/21494157/akka-or-similar-alternative-for-golang-to-support-distributed-concurrency

akka or similar alternative for golang to support distributed concurrency?
akkaまたはgo言語の類似の代替手段を使用して分散同時実行性をサポートしますか?

4 
Quite simply, Akka is a restricted, limited concurrency model. It achieves certain things very well; especially, distributed computing with fault tolerance is its forte. However, CSP is fundamentally a more general concurrency model. With CSP, you can do what Akka does if you want to. But you don't have to. With Akka you are tied to the callback model - Akka's actors provide a nice encapsulation of callbacks to handle message receipt; but that's as far as it goes. How do you do lock-step data-driven flow control in, say, robotics? Akka cannot, but CSP can. – Rick-777 Sep 10 '14 at 21:13
I used the google translation

まあ単純に、Akkaは制限された、限られた並行性モデルです。 それはある種の事柄を非常にうまく成し遂げます。 特に、フォールトトレランス機能を備えた分散コンピューティングはその強みです。 しかし、CSPは基本的により一般的な同時実行モデルです。 CSPを使って、あなたが望むなら、Akkaがすることができます。 しかし、あなたはする必要はありません。 Akkaでは、コールバックモデルに縛られています.Akkaのアクターは、メッセージ受信を処理するコールバックをうまくカプセル化しています。 それはそれが行く限りです。 ロボティクスなどで、ロックステップのデータ駆動型フロー制御をどのように行うのですか? Akkaはできませんが、CSPはできます。 - Rick-777 9月10日14時21:13

0 コメント:

コメントを投稿