actor
Scala Remote Actors stop client from terminating
I am writing a simple chat server, and I want to keep it as simple as possible. My server listed below only receives connections and stores them in the clients set. Incoming messages are then broadcas[详细]
2023-01-24 16:26 分类:问答Design patterns/best practice for building Actor-based system
I am struggling to find any decent links to design patterns, best practice or good, basic architectural principles that should be used in building Actor-based apps. Those few that I know of are:[详细]
2023-01-19 19:40 分类:问答Scala pattern matching confusion with Option[Any]
I have the following Scala code. import scala.actors.Actor object Alice extends Actor { this.start def act{[详细]
2023-01-17 06:07 分类:问答Actor-model library, framework, or language written in C?
The Actor-model was defined in a 1973 paper by Carl Hewitt, but has been popularized by the Erlang language. I开发者_如何学Python believe the parts of Erlang that aren\'t self-hosted (written in Erlan[详细]
2023-01-17 02:41 分类:问答Scala actors thread control
I would like to know more about the extent it is possible to control where each Scala actor is running. I happen to be in a somewhat particular case : high reactivity is desired, a good part of the co[详细]
2023-01-15 03:16 分类:问答Scala actors exception "react on channel belonging to other actor"
Given the following code: class A extends Actor { def act() { loop { reactWithin(1000) { case _ => println(\"A Message\")[详细]
2023-01-15 00:34 分类:问答Scala Remote Actor Message type woes
So I\'ve been playing around with remote actors, and I\'ve run into some difficulties with serialization exceptions. One of my message is an instance of a case class, which itself contains an instance[详细]
2023-01-14 14:25 分类:问答How to make full use of all cores using Scala actors?
I have a high CPU/memory bound task that I would like my Scala program to execute in para开发者_如何学Gollel. So, I\'m using the Actors framework (using receive in a while(true) loop). I call the star[详细]
2023-01-12 06:54 分类:问答Which Actor model library/framework for python and Erlang-like? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently acceptin开发者_C百科g answers.[详细]
2023-01-10 17:54 分类:问答Why can you have millions of actors in an application, but just 10,000 threads is too many?
Why can you have millions of actors in an application, but just 10开发者_StackOverflow,000 threads is too many? How is it that creating millions of actors is practical, but more than a couple threads[详细]
2023-01-10 01:56 分类:问答
加载中,请稍侯......