about summary refs log tree commit homepage
path: root/lib/PublicInbox/GitAsyncCat.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-09-30 15:20:38 +0000
committerEric Wong <e@80x24.org>2023-10-01 07:05:21 +0000
commitbf929e8ddfb9359a97cd8be3d3017c038564d52d (patch)
treeb9cbb8297be3610580607448c66c6a8b157c6e04 /lib/PublicInbox/GitAsyncCat.pm
parentfc9f098c174a3e80dfe80567ee93c2bcb9e90266 (diff)
downloadpublic-inbox-bf929e8ddfb9359a97cd8be3d3017c038564d52d.tar.gz
While pipes guarantee writes of <= 512 bytes to be atomic,
Unix stream sockets (or TCP sockets) have no such guarantees.
Removing the pipe assumption will make it possible for us to
switch to bidirectional Unix stream sockets and save FDs with
`git cat-file' processes as we have with Gcf2Client.  The
performance benefit of larger pipe buffers over stream sockets
isn't irrelevant when interacting with git as it is with
SearchIdx shards.
Diffstat (limited to 'lib/PublicInbox/GitAsyncCat.pm')
0 files changed, 0 insertions, 0 deletions