yes, I am rewriting some code now,I am using play2.3 rc1 with akka 2.3.2
cluster and persistence,current ,6000~ qps now.
thanks roland.
在 2014年5月10日星期六UTC+8下午6时45分50秒,Akka Team写道:
>
>
>
>
> On Sat, May 10, 2014 at 7:37 AM, 何品 >wrote:
>
>> yes now I just using the context.child(name),cause I found
On Sat, May 10, 2014 at 7:37 AM, 何品 wrote:
> yes now I just using the context.child(name),cause I found that actorCell
> is using TreeMap,so if I want to achieve O(1),should I put an hashMap In my
> Actor implement?
>
Mathematically speaking there is no map implementation with O(1) complexity
(y
yes now I just using the context.child(name),cause I found that actorCell
is using TreeMap,so if I want to achieve O(1),should I put an hashMap In my
Actor implement?I found just as what you said,the RouterLogic is not the
right approach for me.
thanks for the answer
在 2014年5月9日星期五UTC+8上午2时59分
The way you would approach this depends very much on what you want to
achieve: is it enough if your router can handle a million messages per
second? If that is the case then I would recommend just writing your own
actor implementing exactly what you want, not using any of the RouterLogic
infrastruc
Hi I was trying to implement an router which could router a message to an
specified routee via the message's key.just as the ConsistentHashRouter.
when I look at the selected method ,the comes out routees are in an
immutable seq,but not a map,so if I want to selected one of
the routee
I should