-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ProcessDispatcher not working #25
Comments
Not sure that |
Having gone through all the magic hokus pokus solutions in Akka.NET, I'd throw my vote at letting the proto.remote layer handle all of this instead. the infrastructure in proto actor is deliberately designed to avoid "magic", being explicit and building on standards for everything. It's far too easy to end up with "we use this semi hack to solve this problem, then we need this other hack to solve the first hack and a nother hack to solve the second hack" Maybe this is way less magic in Python, but as this is a framework for distributed programming, it seems odd to solve the same problem again internally. my 2 cents. |
I don't see where pickle is involved either. Maybe @lucasvfventura has a lead on something? |
Pickle is involved when we launch a new process, (when we dispatch the actor to process the mailbox)... The idea of running multiple process in a single machine should be implement in the Remote module for isolation and simplification purposes, less magic. This wil also simply the queue usage... The queue from the queue module is thread safe |
While running a different process the function passed to the child process and all the objects it needs to execute must be pickle. Because of this the current implementation doesn't work with the ProcessDispatcher
The text was updated successfully, but these errors were encountered: