You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's really nice to find the address of an actor ( PID ) by Kind and ID, no matter how many cluster members.
More specifically,, no matter how many processes running on how many machines.
grain codegen is good idea. It made a well-understand request-reply pattern which is enough to cover 95% of my need.
cons:
Too many IdentityHandoverRequests when cluster members scaling up or down, its time complexity is O(n^2 * (m/n)). n = How many cluster members m = How many actors totally in all of cluster members m/n = Average of how many actors in a cluster member
The ActivationRequest will spend 1 or more RTT, beacuse PartitionIdentiyActor will forward it serveral times in some worse cases. And also there is a worsest case (a->b->a->b) may causing high cpu usage.
The ActivationTerminated, its problem as above.
The text was updated successfully, but these errors were encountered:
pros:
More specifically,, no matter how many processes running on how many machines.
grain codegen
is good idea. It made a well-understand request-reply pattern which is enough to cover 95% of my need.cons:
IdentityHandoverRequests
when cluster members scaling up or down, its time complexity is O(n^2 * (m/n)).n
= How many cluster membersm
= How many actors totally in all of cluster membersm/n
= Average of how many actors in a cluster memberActivationRequest
will spend 1 or moreRTT
, beacusePartitionIdentiyActor
will forward it serveral times in some worse cases. And also there is a worsest case (a->b->a->b) may causing high cpu usage.ActivationTerminated
, its problem as above.The text was updated successfully, but these errors were encountered: