Skip to content
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

Investigate ZeroRPC for IPC #36

Open
dcyoung opened this issue Jul 21, 2017 · 1 comment
Open

Investigate ZeroRPC for IPC #36

dcyoung opened this issue Jul 21, 2017 · 1 comment

Comments

@dcyoung
Copy link

dcyoung commented Jul 21, 2017

Currently we have just a single node app, which uses node's child_process module to execute external python scripts. Updates/feedback from the executing script is accomplished by piping stdout (python process) into stdin (node process). Stringified JSON is then sent from the python process to the node process as a kind of poor man's IPC.

Instead, we could investigate running both a python app and a node app, while using ZeroRPC to make remote procedure calls. Instead of the node app spawning python scripts, a python app would simply run in parallel. The node app could request actions or updates from the python app via zeroRPC. See:

@mcecchi
Copy link

mcecchi commented Dec 4, 2017

Hi,
I think simplicity is always better. Furthermore, python has powerful multiprocessing and threading API that simplifies synchronization a lot. I know, it isn't a real threading library, however, from my personal experience, it's very performing.
I am instead working on a touch GUI written in kivy + phyton very similar to sweep-3d-scanner at least in functionalities. I think it could be a very professional accessory. My aims are speed, simplicity of use an professional appearance. I tried to "chromify" webapp on touch, but it's a trick that does not work well. So, I decided to work witch kivy using my past experience with a 3D printer touch screen controlle GUI. Do you think it's interesting? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants