I know there are different ways to implement IPC
in python such as Pipes
and Queue
; But according to the Python's official documentation, There is also an alternative way called Listener and Client.
multiprocessing.connection.Listener
is much like socket
and both got same functions like accept()
, close()
, send()
and recv()
. So if we only focus on IPC purpose , whats difference between these two modules?
Which one is more efficient ?