user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Eric Wong <>
Subject: [PATCH 0/3] avoid msgmap reopens in long-lived processes
Date: Tue, 14 Jul 2020 02:14:29 +0000	[thread overview]
Message-ID: <> (raw)

As with commit 2a717d13f10fcdc69921d80cf94c47a694a175d4
("nntpd+imapd: detect replaced over.sqlite3"), this is
another step towards eliminating needless wakeups on
systems with inotify or kqueue.

To save memory, we'll also stop storing {filename} in Perl once
the SQLite DB is open, since we expect to have thousands of
inboxes soon.

Eric Wong (3):
  over: unset sqlite_unicode attribute
  nntpd+imapd: detect unlinked msgmap
  over+msgmap: do not store filename after DBI->connect

 lib/PublicInbox/   | 11 +++----
 lib/PublicInbox/  | 67 ++++++++++++++++++++------------------
 lib/PublicInbox/    | 31 +++++++++++++-----
 lib/PublicInbox/ |  6 ++--
 t/nntpd.t                  |  8 +++++
 5 files changed, 74 insertions(+), 49 deletions(-)

             reply	other threads:[~2020-07-14  2:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-14  2:14 Eric Wong [this message]
2020-07-14  2:14 ` [PATCH 1/3] over: unset sqlite_unicode attribute Eric Wong
2020-07-14  2:14 ` [PATCH 2/3] nntpd+imapd: detect unlinked msgmap Eric Wong
2020-07-14  2:14 ` [PATCH 3/3] over+msgmap: do not store filename after DBI->connect Eric Wong

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:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: [PATCH 0/3] avoid msgmap reopens in long-lived processes' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

user/dev discussion of public-inbox itself

This inbox may be cloned and mirrored by anyone:

	git clone --mirror
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 meta meta/ \
	public-inbox-index meta

Example config snippet for mirrors.
Newsgroups are available over NNTP:
 note: .onion URLs require Tor:

code repositories for project(s) associated with this inbox:

AGPL code for this site: git clone