Question on multiple Python users in one application

Loren Wilton lwilton at earthlink.net
Thu Oct 6 17:40:12 EDT 2016


(Apologies for the broken threading on this reply, I'm just getting the list 
access set up.)

> Put each Python in a separate process and communicate by IPC.

I thought of that, but the multi-user program is a virtual machine 
implementation, and the programs running on the machine have resources like 
variables, arrays, files, and databases that the users are likely to want to 
access from Python as native Python objects. It's unlikely or impossible 
that they would or could pass all objects as command line parameters to a 
Python program.

While it is certianly possible to marshall every variable access through 
IPC, it isn't real efficient. I would much perfer to avoid this if I 
possibly can.

Thanks,
        Loren




More information about the Python-list mailing list