-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Support multiprocessing #19
Comments
Has anyone tried this? After a quick glance through the pykka source, and based on what I know about |
If you leave out any considerations about having actors running on different executors talking to each other, e.g. a system with only multiprocessing actors, you basically just need:
|
In a "classic" actor model the actors should only be communicating through message passing, so it sounds like Do you think there are many people sharing state across actors without message passing? |
I don't know of that many projects using Pykka, but at least in Mopidy we usually keep quite strictly to the actor rules. That said, I think that you'll have problems using |
I'd love to see a backend implementation for both multiprocessing and asyncio. The multiprocessing backend should support Process and WorkerPool actors. Sadly I'm too new to Python to give it a serious try, but maybe I will once I've learnt more about the language. |
multiprocessing
is like threading but a bit slower and allows multiple processors fully.The text was updated successfully, but these errors were encountered: