[akka-user] akka.actor.InvalidActorNameException: actor name [xxx] is not unique!

2015-02-11 Thread Kane Lai
Hi, I'm trying to manually restart the akka hierarchy because I'm implementing something like hot-reload config mechanism. I send a Kill to a top level actor and set the supervisor strategy for ActorKilledException to Restart. Everything works fine so far. Then during restart, in the top level a

Re: [akka-user] Agents and Collections (lists, hashmap's etc)

2014-03-03 Thread Kane Lai
rn like? > > > On Mon, Mar 3, 2014 at 11:20 AM, Kane Lai wrote: > However, won't it be slow if we are to copy a large object (e.g. HashMap)? > What's the recommended way to handle such kind of large state using Akka? > Akka Agent? STM? or I am even thinking using a sep

Re: [akka-user] Agents and Collections (lists, hashmap's etc)

2014-03-03 Thread Kane Lai
However, won't it be slow if we are to copy a large object (e.g. HashMap)? What's the recommended way to handle such kind of large state using Akka? Akka Agent? STM? or I am even thinking using a separate embedded in-memory DB, but seems it's overkilled... I've searched lots of places in the int

[akka-user] Threading Issues of Using DiagnosticLoggingAdapter in UntypedActor

2014-02-06 Thread Kane Lai
Hi, I'm using Akka 2.3.0-RC2. In my UntypedActor class, I use DiagnosticLoggingAdapter to write logs. Randomly my code throws the following exception: java.util.ConcurrentModificationException: null at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) ~[na:1.6.0_37] at java.util.HashM