unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH 0/5] www: start using xap_helper process
@ 2024-04-24  6:44 Eric Wong
  2024-04-24  6:44 ` [PATCH 1/5] searchview: get rid of unused adump callback arg Eric Wong
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Eric Wong @ 2024-04-24  6:44 UTC (permalink / raw)
  To: meta

Putting Xapian work into subprocesses will allow us to implement
proper timeouts and ultra-expensive queries without harming
unrelated queries.

It's on by default right now, but I think it's better to keep it
off by default to avoid tripping up existing process monitoring
tools.

Eric Wong (5):
  searchview: get rid of unused adump callback arg
  xap_helper.h: remove _SC_NPROCESSORS_ONLN default
  xap_helper: drop terms+data from `mset' command
  mbox: hoist out refill_result_ids
  www: wire up search to use async xap_helper

 MANIFEST                           |   2 +
 lib/PublicInbox/Isearch.pm         |  50 +++++++-----
 lib/PublicInbox/Mbox.pm            | 127 ++++++++++++++++-------------
 lib/PublicInbox/MboxGz.pm          |   4 +-
 lib/PublicInbox/Search.pm          |  53 +++++++++++-
 lib/PublicInbox/SearchView.pm      |  58 +++++++------
 lib/PublicInbox/XapClient.pm       |   1 +
 lib/PublicInbox/XapHelper.pm       |  16 +---
 lib/PublicInbox/XhcMset.pm         |  51 ++++++++++++
 lib/PublicInbox/XhcMsetIterator.pm |  20 +++++
 lib/PublicInbox/xap_helper.h       |  17 ++--
 lib/PublicInbox/xh_mset.h          |  57 ++-----------
 t/cindex.t                         |  23 +++---
 t/xap_helper.t                     |  29 +++----
 14 files changed, 302 insertions(+), 206 deletions(-)
 create mode 100644 lib/PublicInbox/XhcMset.pm
 create mode 100644 lib/PublicInbox/XhcMsetIterator.pm

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

end of thread, other threads:[~2024-04-25  8:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-24  6:44 [PATCH 0/5] www: start using xap_helper process Eric Wong
2024-04-24  6:44 ` [PATCH 1/5] searchview: get rid of unused adump callback arg Eric Wong
2024-04-24  6:44 ` [PATCH 2/5] xap_helper.h: remove _SC_NPROCESSORS_ONLN default Eric Wong
2024-04-24  6:44 ` [PATCH 3/5] xap_helper: drop terms+data from `mset' command Eric Wong
2024-04-24  6:44 ` [PATCH 4/5] mbox: hoist out refill_result_ids Eric Wong
2024-04-24  6:44 ` [PATCH 5/5] www: wire up search to use async xap_helper Eric Wong
2024-04-24  9:39   ` [PATCH 6/5] xap_helper: PERL_INLINE_DIRECTORY fallback for JAOT build Eric Wong
2024-04-25  8:11   ` BSD make problem [was: [PATCH 5/5] www: wire up search ...] 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).