unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH 0/4] various indexing updates
@ 2024-12-11  8:10 Eric Wong
  2024-12-11  8:10 ` [PATCH 1/4] (ext)index: use time-based commits to avoid busy timeout Eric Wong
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Eric Wong @ 2024-12-11  8:10 UTC (permalink / raw)
  To: meta

1/4 is a big one, and a CLI switch might be necessary for some...

3/4 is fairly minor and probably not noticeable, but deletes
are very common for coderepos.  Accounting for delete costs for
inboxes (not coderepos) is probably something that can wait for
post-2.0.

2/4 and 4/4 are trivial cleanups.

In retrospect, I probably should've used `local' more back in
the day to simplify internal data structures.  But didn't start
using it heavily until a few years ago...

Eric Wong (4):
  (ext)index: use time-based commits to avoid busy timeout
  lei/store: use global checkpoint interval
  cindex: adjust estimated memory cost for deletes
  over_idx: simplify each_by_mid

 lib/PublicInbox/CodeSearchIdx.pm |  9 ++++++++-
 lib/PublicInbox/ExtSearchIdx.pm  | 14 ++++++--------
 lib/PublicInbox/LeiStore.pm      |  4 +++-
 lib/PublicInbox/OverIdx.pm       |  3 +--
 lib/PublicInbox/SearchIdx.pm     | 29 +++++++++++++++++++++--------
 lib/PublicInbox/V2Writable.pm    | 22 ++++++++++------------
 6 files changed, 49 insertions(+), 32 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-12-11  8:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-11  8:10 [PATCH 0/4] various indexing updates Eric Wong
2024-12-11  8:10 ` [PATCH 1/4] (ext)index: use time-based commits to avoid busy timeout Eric Wong
2024-12-11  8:10 ` [PATCH 2/4] lei/store: use global checkpoint interval Eric Wong
2024-12-11  8:10 ` [PATCH 3/4] cindex: adjust estimated memory cost for deletes Eric Wong
2024-12-11  8:10 ` [PATCH 4/4] over_idx: simplify each_by_mid Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).