Supervisorによる耐障害性 Akkaでのエラーや障害に対する対処は「let it crash」というアプローチをとっています。 この考え方は障害は発生しうるものという前提に基づき、障害が発生したらプロセスを適切に再スタートさせるという考え方です。 そのためにAkka... 続きを読む
Akka Actor入門 Scala 対象とするバージョン この記事は、Akka 1.1.3を対象に書かれています。 Akkaとは? Scale up (Concurrency) Scale out (Remoting) Fault tolerance AkkaはScala/Javaでイベント駆動型のアプリケーションを書くためのフレームワークです。... 続きを読む
Scala の Actor 用 API では、リモートプロセスを含むプロセス間通信を実現するための API が用意されているので、今回はこれを試してみる事にする。 RemoteActor の使い方RemoteActor を実現するには、scala.actors.Actor オブジェクトのメソッドに加え、scala... 続きを読む
対象とするバージョンこの記事は、Akka 1.1.3を対象に書かれています。 Akkaとは? Scale up (Concurrency) Scale out (Remoting) Fault toleranceAkkaはScala/Javaでイベント駆動型のアプリケーションを書くためのフレームワークです。Scala標準のActorよりも... 続きを読む
Akkaは現在Scalaと一緒の形でTypesafe社によって配布されています. Scalaに標準で用意されているActor機能よりも高機能なものになっています. シンプルなコード・設定ファイルで実際にどのようにプログラムが書けるかを, 見てみたいと思います. サーバ側の... 続きを読む
You can start your actors in an akka boot file or in your own ServletContextListener so that they are started without being tied to a servlet. Then you can look for them with the akka registry. Actor.registry.actorFor[MyActor] foreach { _ !! ... 続きを読む
Revisions 7c1353 buka Thu Dec 30 07:49:02 -0800 2010 5a0ca8 buka Wed Dec 29 21:28:04 -0800 2010 Private Gist All pages are served over SSL and all pushing and pulling is done over SSH. No one may fork, clone, or view it unless they are given ... 続きを読む
Typesafe provides an easy-to-use packaging of the Scala programming language, Akka middleware, and developer tools via the open source Typesafe Stack, as well as commercial support and maintenance via the Typesafe Subscription. Typesafe also ... 続きを読む
Akka: Simpler Scalability, Fault-Tolerance, Concurrency & Remoting through ActorsSimpler Scalability, Fault-Tolerance, Concurrency & Remoting through Actors Simpler Concurrency Write simpler correct concurrent applications using Actors, STM &... 続きを読む
原文(投稿日:2011/02/16)へのリンク Akkaは、Scalaで書かれたライブラリで、アクターモデルを使って、耐障害性のある、非常にスケーラブルなアプリケーションをJavaとScalaで書くことを簡単にする。 Carl Hewitt氏によって1973年に始めて提案されたアクターモ... 続きを読む