On Sat, May 03, 2014 at 04:16:34PM -0700, Ryan Tanner wrote:
> That's pretty much what we do.  We give one of our nodes the "supervisor" 
> role and start a ClusterSingletonActor on it which spawns a control FSM (we 
> call it a Pipeline) which in turn spawns worker FSMs (PipelineWorkers). 
>  Those actors then marshall data and delegate work to stateless actors 
> elsewhere in the cluster.
> 
> I'm not quite clear on your question—creating an FSM actor is no different 
> than creating any other actor—but I think overall it's a fine strategy. 
>  It's worked well for us.

Okay, fine. My question was related to how to create an instance of FSM actor,
which accepts parameters in it's constructor, however thinking carefully I
think that it's quite possible to pass the initialization stuff in a message.

Thank you for the explanation!

-- 
Eugene N Dzhurinsky

Attachment: pgpOswtgGjTxv.pgp
Description: PGP signature

Reply via email to