|
Is there a way to monitor how many threads are actually alive and running my scala actors ?
Started by paradigmatic on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The only way to properly do this is to inject your own executor for the actors subsystem as, by default, the actor threads do not have actor- or scala-specific names (they may.
Threads in running JVMs.
|
|
Is there any good implementation of actors concurrency model for .net/c#? I have to optimize a c# routine and i think that actors model fits perfectly as a solution for my problem. Unfortunately i have experience only with scala implementation.
Started by Borba on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It's called Axum :
Axum (previously codenamed Maestro ) is a domain specific concurrent programming language, based on the Actor model, being developed by Microsoft/
These frameworks would allow you develop....
On the Actor model by Microsoft.
|
|
Fenrir's Moon Productions < Click that
To visit our site there you'll find a small list of the crew, Pictures of our work and a progress bar for all of our episodes. Along with a forum section where you can join the crew there also if you do not wish...
Started by bawbusta on
, 15 posts
by 6 people.
Answer Snippets (Read the full thread at minecraftforum):
<PTO: Ben Bull_dawgie
Age: 16
Skype Name: pto.christ
Positions Applying For: voice actor
Extra info if you.
Applying For: voice actor
Extra info if you wish to share more: have been acting for years.
|
Ask your Facebook Friends
|
Basically I will have list of Directors and Actors defined in an xml for each Movie type instance.
What type should I use to define the collection? ( Built-in from the BCL or custom ?)
Should I use strings for Directors and Actors or define specific Director...
Started by Joan Venge on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I see no specific properties....
I would definitely look at the built enhancements.
A List of these would do, though for actors you'd need to store both the character name and the actor's name.
The Person table to autogenerate this value for you.
|
|
I have an existing java/scala application using a global thread pool. I would like to start using actors in the project but would like everything in the app using the same pool.
I know I can set the maximum number of threads that actors use but would ...
Started by agilefall on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Firstly you can control it's size:
-Dactors.maxPoolSize=8
And you can and runs its work on the actors thread....
// git yer used by the actor subsystem.
I believe you can do something like this:
trait MyActor extends Actor { val pool = ...
|
|
I have quite large files that I need to deal with (500Meg+ zip files).
Are there any non-blocking IO open source implementations for Scala's actors?
Started by Roman Kagan on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Can't you simply use java's NIO from scala, hence you will suffer from them... .
I'm not aware of an NIO implementation of remote actors I'm afraid.
Are you talking about Remote actors? A standard Actor is of course a intra-JVM entity.
|
|
Hi,
I feel a bit insecure about using actors in Scala. I have read documentation about how to do stuff..but I guess I would also need some DON'T rules in order to feel free to use them. I think I am afraid that I will use them in a wrong way and I will...
Started by eleonora on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I presume you have seen the actor guidelines in Programming in Scala , but for the record:
Actors should not ....
The reason for this is that it is only concurrency .
Actor.actor for your primary actors, sublcass Actor instead.
|
|
This program, after executing main(), does not exit.
object Main { def main(args: Array[String]) { ... // existing code f() ... // existing code } def f() { import scala.actors.Actor._ val a = actor { loop { react { case msg: String => System.out.println...
Started by Eldritch Conundrum on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you think of an actor as kind of a light-weight thread, much of the time you want....
Scheduler that doesn't prevent shutdown even if there are still live actors, or if you want an easy way you could call System.exit() at the end of main.
|
|
Anyone know of a good way to unit test Scala actors? In the general sense I have an actor that receives a message and will send out other messages in response. This is done on multiple threads, and an actor that is not correct may either send the wrong...
Answer Snippets (Read the full thread at stackoverflow):
How many actors will the actor being extends Actor { // The....
Because of the dynamic nature of actor-style message passing, mocking actors is usually no trouble it with various sequences of messages and expected results.
|
|
Are there any guides or tutorials which explain the possibility to use scala actors remotely? All I have found until now is one example (without comments) but that's hardly enough.
Started by Alexander Stolz on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you do make use of remote actors, we written an article with an example app to explain....
From the API though, things should work pretty much the same as regular actors, for which there exist one or two tutorials (as well as a few books now).
|