From: Eric Wong <e@80x24.org>
To: meta@public-inbox.org
Subject: FUSE3 vs read-write IMAP for lei
Date: Fri, 9 Dec 2022 01:41:12 +0000 [thread overview]
Message-ID: <20221209014112.GA9768@dcvr> (raw)
In-Reply-To: <20220804072349.8352-1-e@80x24.org>
Eric Wong <e@80x24.org> wrote:
> I don't think lei+FUSE will be as portable or useful as a
> local IMAP server (and maybe JMAP, eventually); but r/w IMAP
> support would be nice..
One thing about lei which really bothers me is that it needs to
write out mail already in local git repos to the FS to be read
by regular MUAs.
This is wasteful, of course; so there's 2 ways I can imagine
exposing mail to ordinary MUAs without excessive disk
traffic/wear:
== read-write IMAP for lei
* connect via localhost (127.0.0.1, [::1]) (don't think local sockets
are supported by any MUAs)
* May be extended to JMAP; but it's hard to be motivated on JMAP
since my favorite MUA doesn't do JMAP, yet.
+ portable (can be done in pure Perl + DBD::SQLite + Xapian)
+ we already have a read-only IMAP server which can be extended
for read/write
- still needs login w/ username+password due to multi-user systems
- may still susceptible to abuse and from multi-user systems
- IMAP gets pretty complex, and MUAs sometimes don't do it well
== FUSE3 - Maildir-oriented FS
+ will require C compiler since old FUSE XS modules don't do
FUSE3 (for readdirplus); and going w/o readdirplus is
unimaginable for Maildir.
+ I already have existing (unreleased) AGPL-3 work based on
FUSE3 + URCU + Perl5 with just-ahead-of-time (JAOT) compilation
* I've seen the light w/ URCU, and can't go back to C without it :P
- likely Linux-only (not sure how good FUSE support will be if
depending on FUSE3 features)
- kernel caches still incur nasty memory overhead w/ Maildir
- readdir(3) userspace API still sucks
Of course, doing both is an option, too, given enough time...
next prev parent reply other threads:[~2022-12-09 1:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-04 7:23 [PATCH] TODO: remove done items, adjust/add/abandon some Eric Wong
2022-12-09 1:41 ` Eric Wong [this message]
2023-02-20 19:27 ` FUSE3 vs read-write IMAP for lei 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:
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=20221209014112.GA9768@dcvr \
--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).