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
{{ message }}
Repository navigation
Actor classes are pickled and exported every time an actor is created. #501
Every time a Foo object is created, the Foo class will be pickled and exported to all of the workers. Since every newly created actor also processes every export, this is an N^2 algorithm.
This is likely responsible for some Redis congestion that we've been seeing.
I'm marking this as a bug because in some cases the congestion is so bad that it causes enough local scheduler heartbeats to be missed that the global scheduler marks the local schedulers as dead.
Note that the problem could still occur even after this problem is fixed if we have a ton of exports and then create a ton of actors in quick succession.
On thing we should do here for sure is having a more reliable heartbeat system. Maybe a separate redis server, maybe even a system like etcd. Also we should investigate if there is ever the possibility that heartbeats are missed because the event loop of the component that gives the heartbeat is overloaded.
Activity
robertnishihara commentedon May 2, 2017
I'm marking this as a bug because in some cases the congestion is so bad that it causes enough local scheduler heartbeats to be missed that the global scheduler marks the local schedulers as dead.
Note that the problem could still occur even after this problem is fixed if we have a ton of exports and then create a ton of actors in quick succession.
pcmoritz commentedon May 2, 2017
On thing we should do here for sure is having a more reliable heartbeat system. Maybe a separate redis server, maybe even a system like etcd. Also we should investigate if there is ever the possibility that heartbeats are missed because the event loop of the component that gives the heartbeat is overloaded.
[VirtualCluster] fix unexpected auto_ray_init called by get_runtime_c…