Python Multiprocessing. How to enqueue XMLRPC ServerProxy objects
问题 I am trying to send several parallel requests to a XMLRPC server (mosesserver). To launch the XMLRPC call, a ServerProxy object is needed (this object contains the URL of the server, among other things) In serial execution, I can create this object at the beginning of the program (with a call to xmlrpclib.ServerProxy(server_URL)), store it in a variable and use it whenever I need it. But when using a pool of processes, each process needs a different instance of this object. The task of each