-2

I want to scale my application UP and DOWN depending on no of requests from users for this i want to share the same mailbox with all the presently running actors. I think Balancing Dispatcher will solve my problem as per his work stealing algorithm. But I am not able to figure out how to do it. I am new to akka framework. Some code samples about this will be really helpful. I have few questions regarding this,

1. How to lookup currently running ActorSystem ?
2. How to create actors on currently running remote ActorSystem ?
3. How to create BalancedDispatcher ?
4. How to share same instance of BalancedDispatcher ?
5. How exactly scalling UP and DOWN in akka works ?

Thanks in advance

4

1 回答 1

1

扩大和缩小规模是指添加/删除虚拟机吗?

如果可能的话,我建议不要让这些节点共享一个邮箱,而是将流量分配到那些(否则独立的)节点上。

那可能吗?如果不是,为什么不呢?

于 2017-09-22T12:45:33.173 回答