Re: [akka-user] Beginner Question: Is This a Good Enough Actor Design?

2014-05-20 Thread Allen Nie
Ha! That's helpful! I thought about using intermediate message object, but copy is a better way. Thanks! On Tuesday, May 20, 2014 6:24:47 AM UTC-4, Martynas Mickevičius wrote: You should have fields of your case class immutable. Then you can pass it between actors completing the fields as it

Re: [akka-user] Beginner Question: Is This a Good Enough Actor Design?

2014-05-20 Thread Andreas Gies
Hi to me it sounds like you are modelling something like a pipeline per request. In addition to what Martynas has suggested, you may want to get the EA version of Akka in Action. They describe a couple of design patterns by translating quite common Enterprise Integration patterns to Akka.