amnesia icon indicating copy to clipboard operation
amnesia copied to clipboard

[Suggestion] Unix Socket for Linux Based Systems

Open ghost opened this issue 8 years ago • 1 comments

For linux based systems? I know unix socket is unavailable for windows.. but I think unix socket would be ideal (better performance).

Would love to see if this would be possible, looks like somewhere in function server() { we can add the socket there.

Or, is the TCP overhead not an issue? Will it ever be a bottleneck?

ghost avatar Jun 20 '16 19:06 ghost

Unix domain sockets are for inter-process communication only. TCP sockets allow communication between machines/processes over the network.

Amnesia works on both cases (inter-process and inter-machine) but the main use case is for inter-machine communications....but, yes, there is going to be some overhead by using TCP on the loopback instead of UDS for inter-process communications.

fermads avatar Jun 22 '16 21:06 fermads