Open alzix opened 1 year ago
I'm going to hold on this for now -- but I think I might well do this. I'd like to update both legacy nanomsg and mangos to do this as well, because it is an interoperability problem.
One other idea is to add a new URL scheme and transport just for UNIX sockets. I am thinking about that too.
This will be post 1.6.0. But I do intend to do it.
So my plan of record is as follows:
Mangos will probably grow the same scheme as well.
@gdamore Is there a chance to utilize shared memory for inter process communication on the local machine?
Shared memory will be a new transport entirely. I don't have any immediate plans for this ... its complicated to do if you want to do it in a zero copy fashion. (Its easy to do if you accept data copies...)
we are experiencing issues with IPC sockets reliability on Windows. related issues #1175 and #1567 on macOS it works much more reliably. One of the differences between the two systems is that Windows uses named named-pipes for IPC, while UNIX domain sockets are used on macOS
Windows 10 supports UNIX domain sockets out of the box - https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/ Add a compile/runtime option to use UNIX domain sockets on Windows for IPC