From: "Eric Wong (Contractor, The Linux Foundation)" <e@80x24.org>
To: meta@public-inbox.org
Subject: [PATCH 0/5] v2: drop Xapian skeleton for SQLite overview DB
Date: Mon, 2 Apr 2018 00:04:51 +0000 [thread overview]
Message-ID: <20180402000456.13446-1-e@80x24.org> (raw)
400ms to load the top-level /$INBOX/ for /git/ is pretty bad on
my systems as-is. 800ms for /lkml/ was not unacceptable
(though probably 400ms on decent servers). It's now around 60ms
across the board with the new overview DB.
This also affects OVER/XOVER/NEWNEWS NNTP commands, as well
as Atom feeds.
Eric Wong (Contractor, The Linux Foundation) (5):
replace Xapian skeleton with SQLite overview DB
v2writable: simplify barrier vs checkpoints
t/over: test empty Subject: line matching
www: rework query responses to avoid COUNT in SQLite
over: speedup get_thread by avoiding JOIN
MANIFEST | 5 +-
lib/PublicInbox/Feed.pm | 11 +-
lib/PublicInbox/Inbox.pm | 15 +-
lib/PublicInbox/Mbox.pm | 12 +-
lib/PublicInbox/Msgmap.pm | 1 +
lib/PublicInbox/NNTP.pm | 29 +-
lib/PublicInbox/Over.pm | 134 ++++++++
lib/PublicInbox/OverIdx.pm | 370 +++++++++++++++++++++
.../{SearchIdxSkeleton.pm => OverIdxFork.pm} | 131 +++++---
lib/PublicInbox/Search.pm | 124 ++-----
lib/PublicInbox/SearchIdx.pm | 214 +++---------
lib/PublicInbox/SearchIdxPart.pm | 16 +-
lib/PublicInbox/SearchMsg.pm | 26 +-
lib/PublicInbox/V2Writable.pm | 114 +++----
lib/PublicInbox/View.pm | 17 +-
script/public-inbox-compact | 32 +-
t/altid.t | 9 +-
t/convert-compact.t | 6 +-
t/over.t | 63 ++++
t/psgi_search.t | 6 +-
t/search-thr-index.t | 9 +-
t/search.t | 92 ++---
t/v2-add-remove-add.t | 6 +-
t/v2mda.t | 4 +-
t/v2writable.t | 2 +-
t/watch_maildir_v2.t | 26 +-
26 files changed, 907 insertions(+), 567 deletions(-)
create mode 100644 lib/PublicInbox/Over.pm
create mode 100644 lib/PublicInbox/OverIdx.pm
rename lib/PublicInbox/{SearchIdxSkeleton.pm => OverIdxFork.pm} (54%)
create mode 100644 t/over.t
--
EW
next reply other threads:[~2018-04-02 0:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-02 0:04 Eric Wong (Contractor, The Linux Foundation) [this message]
2018-04-02 0:04 ` [PATCH 1/5] replace Xapian skeleton with SQLite overview DB Eric Wong (Contractor, The Linux Foundation)
2018-04-05 8:59 ` Eric Wong
2018-04-02 0:04 ` [PATCH 2/5] v2writable: simplify barrier vs checkpoints Eric Wong (Contractor, The Linux Foundation)
2018-04-02 0:04 ` [PATCH 3/5] t/over: test empty Subject: line matching Eric Wong (Contractor, The Linux Foundation)
2018-04-02 0:04 ` [PATCH 4/5] www: rework query responses to avoid COUNT in SQLite Eric Wong (Contractor, The Linux Foundation)
2018-04-02 0:04 ` [PATCH 5/5] over: speedup get_thread by avoiding JOIN Eric Wong (Contractor, The Linux Foundation)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://public-inbox.org/README
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180402000456.13446-1-e@80x24.org \
--to=e@80x24.org \
--cc=meta@public-inbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).