]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
extindex: reduce IPC for cross-posted messages
authorEric Wong <e@80x24.org>
Wed, 13 Aug 2025 21:42:46 +0000 (21:42 +0000)
committerEric Wong <e@80x24.org>
Fri, 15 Aug 2025 12:30:49 +0000 (12:30 +0000)
commit29c04518fc3c915f10126eb58820275e351f7cbf
tree08e1adf05aea633a5cd2fb8cf7b1357512999a37
parent73c07ebca4b83e45787313d336beb61d168bdc9c
extindex: reduce IPC for cross-posted messages

When dealing with cross-posted messages, we can reduce IPC
traffic by only sending the List-ID header(s) across the pipe
instead of all headers of a message.  List-ID headers only take
up a small portion of all message headers so the IPC traffic
reduction can be helpful in saving memory bandwidth to improve
performance.

This change will also make it easier to journal work for Xapian
and perform all work for cross posted messages in the same
transaction.  This ought to reduce doing updates for a given
document across transactions and hopefully reduce storage device
wear while improving performance.
lib/PublicInbox/ExtSearchIdx.pm
lib/PublicInbox/LeiStore.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/SearchIdxShard.pm