Unix sockets are slightly more efficient than TCP connections on a local system. In the case of redis, the docs note:
Depending on the platform, unix domain sockets can achieve around 50% more throughput than the TCP/IP loopback (on Linux for instance).
Oh wow, I grepped through the readme and a few pieces of code for “socket” but missed this. I’m sorry! Thanks for the clarification.