Nicolas Martyanoff on Nostr: UNIX sockets are underestimated. They can be used for connections between programs on ...
UNIX sockets are underestimated. They can be used for connections between programs on a local machine (e.g. a CLI program for a server, or a controller and its workers) the same way as a TCP socket, but with the advantage of being actual files with permissions for access control.
The only downside is that some languages/runtimes do not automatically delete
them on close, which is annoying the next time the server starts up.
Published at
2025-01-05 12:09:45Event JSON
{
"id": "50bd8a04eb4286cb75cdf05b90ec1697bf9bf73f2673f8732f9a8d9f118ad73b",
"pubkey": "6d91e7b056ab18986298e04a8b278a5e070a726487fd30a599427c79db9070e9",
"created_at": 1736078985,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/users/galdor/statuses/113775672411498542",
"activitypub"
]
],
"content": "UNIX sockets are underestimated. They can be used for connections between programs on a local machine (e.g. a CLI program for a server, or a controller and its workers) the same way as a TCP socket, but with the advantage of being actual files with permissions for access control.\n\nThe only downside is that some languages/runtimes do not automatically delete\nthem on close, which is annoying the next time the server starts up.",
"sig": "dfb854443eb551da4668d3b1e9fdddd003543da85c995e79485c8d7fe4f10707e6acced913f8279e094b4c610fbff4837d319305022831870d55a3d001cb7e5f"
}