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
return # the underline ff_node should continue instead of stopping
120
-
121
-
def svc_end(self):
122
-
do_some_work() # do some work when the worker ends
123
-
```
124
-
- How to handle renaming of imported modules when recreating the environment in subinterpreters? For example `import numpy as np` would cause the statement `import np` when recreating the environment.
125
-
- Can we use shared memory instead of pipes?
126
-
- Why calling `svc` inside subinterpreters is slower than calling it inside processes (including the time needed to send through pipe + recv ack + recv response + send ack)...?
127
-
- Memory leaks...
128
-
- Workers are added to the farm at the same time. The environment is serialized for each worker, but it may be just serialized once and shared accross all the workers. However it is not easy: if done during svc_init, how can we share the env accross all the workers and how we choose which worker does the serialization?
0 commit comments