This is optional, but also very easy for someone to enable via their config/db.php.
UNIX sockets tend to be faster than TCP/IP, so letting folks know about this option is encouraged. I'm using it in a stage environment and it has been seamless after changing just the hostname and port, as mentioned in the proposed pull request.
Direct UNIX socket connections from the PHP PECL Mongo driver have been around since version 2010-08-06 in version 1.0.9 .
This is optional, but also very easy for someone to enable via their config/db.php.
UNIX sockets tend to be faster than TCP/IP, so letting folks know about this option is encouraged. I'm using it in a stage environment and it has been seamless after changing just the hostname and port, as mentioned in the proposed pull request.
Direct UNIX socket connections from the PHP PECL Mongo driver have been around since version 2010-08-06 in version 1.0.9 .
PHP has documentation for socket-based connections. http://php.net/manual/en/mongo.connecting.uds.php
Also, Mongo has defaulted to running a UNIX socket since at least version 2.2 http://docs.mongodb.org/v2.2/reference/configuration-options/#nounixsocket