In the context of Nextcloud, specifically
Just curious about what everyoneâs feelings on the matter are. Personally, when I first started self-hosting, Unix sockets were scary. TCP/IP connections are defined by an IP address or hostname, both of which are relatively familiar to amateurs.
Recently, however, I completely rebuilt my Nextcloud installation from scratch and used Unix sockets, mostly just for the challenge of doing something Iâd never done before.
I canât tell the difference.
Maybe thereâs a few milliseconds difference server-side, but those gains are more than nullified by the variations in latency between host and client, client script processing, and a multitude of other factors.
I also donât care. Iâm sticking with my setup.
So, what about you? Are you âTeam Unix Socketsâ all day, or is TCP/IP âfast enoughâ?
Iâd be especially interested to hear the perspective of anyone who has deployed Nextcloud at scale (100+ users).
P.S.
This is a Discussion Question, not a declaration of war or âhow do I do thisâ or another âare sockets fasterâ question. Just in case anyone was confused.