]> Sergey Matveev's repositories - public-inbox.git/commit
v2writable: round-robin to partitions based on article number
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Thu, 22 Feb 2018 17:55:35 +0000 (17:55 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Thu, 22 Feb 2018 18:38:39 +0000 (18:38 +0000)
commit0586a456f97fd41879a266e14a98dcbc148679ea
tree5ed262d27e5d44742953389a1a6f180c6c0de6ad
parent9ecbfc09928dada28094fd3fc79e91a5472b27ea
v2writable: round-robin to partitions based on article number

Instead of relying on the git object_id hash to partition,
round-robin to these partitions based on the NNTP article
number.  This reduces the partition pipes as a source of
contention when two (or more) sequential messages end up
going to the same partition.
lib/PublicInbox/V2Writable.pm