Re: Alternative (raw) message store (i.e. instead of maildir)
authorVladimir Marek <Vladimir.Marek@Oracle.COM>
Tue, 14 Aug 2012 16:04:42 +0000 (18:04 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:06 +0000 (09:49 -0800)
d4/35fc61ec6f3260e4a45e48238c6341a5fbf4ac [new file with mode: 0644]

diff --git a/d4/35fc61ec6f3260e4a45e48238c6341a5fbf4ac b/d4/35fc61ec6f3260e4a45e48238c6341a5fbf4ac
new file mode 100644 (file)
index 0000000..b5ff6b1
--- /dev/null
@@ -0,0 +1,97 @@
+Return-Path: <Vladimir.Marek@Oracle.COM>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id CA1BA431FC2\r
+       for <notmuch@notmuchmail.org>; Tue, 14 Aug 2012 09:06:09 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -4.999\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-4.999 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_HI=-5, UNPARSEABLE_RELAY=0.001]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 5ksYn0KIjBYG for <notmuch@notmuchmail.org>;\r
+       Tue, 14 Aug 2012 09:06:09 -0700 (PDT)\r
+Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 67C2D431FAE\r
+       for <notmuch@notmuchmail.org>; Tue, 14 Aug 2012 09:06:09 -0700 (PDT)\r
+Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237])\r
+       by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with\r
+       ESMTP id q7EG65ZE002765\r
+       (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);\r
+       Tue, 14 Aug 2012 16:06:06 GMT\r
+Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157])\r
+       by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id\r
+       q7EG64RP014072\r
+       (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);\r
+       Tue, 14 Aug 2012 16:06:04 GMT\r
+Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69])\r
+       by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id\r
+       q7EG62SG000440; Tue, 14 Aug 2012 11:06:02 -0500\r
+Received: from pub.cz.oracle.com (/10.163.20.32)\r
+       by default (Oracle Beehive Gateway v4.0)\r
+       with ESMTP ; Tue, 14 Aug 2012 09:06:02 -0700\r
+Date: Tue, 14 Aug 2012 18:04:42 +0200\r
+From: Vladimir Marek <Vladimir.Marek@Oracle.COM>\r
+To: Stewart Smith <stewart@flamingspork.com>\r
+Subject: Re: Alternative (raw) message store (i.e. instead of maildir)\r
+Message-ID: <20120814160442.GO28321@pub.cz.oracle.com>\r
+Mail-Followup-To: Stewart Smith <stewart@flamingspork.com>,\r
+       Ciprian Dorin Craciun <ciprian.craciun@gmail.com>,\r
+       notmuch@notmuchmail.org\r
+References:\r
+ <CA+Tk8fwq2thNeKHgfG-EX0hgR7uyqrSce0ZMOhEJBsz1RVtRqg@mail.gmail.com>\r
+       <20120811094635.GY28321@pub.cz.oracle.com>      <874no613ms.fsf@flamingspork.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Disposition: inline\r
+In-Reply-To: <874no613ms.fsf@flamingspork.com>\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\r
+X-Source-IP: acsinet21.oracle.com [141.146.126.237]\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 14 Aug 2012 16:06:10 -0000\r
+\r
+> >  - fuse zip stores all changes in memory until unmounted\r
+> >  - fuse zip (and libzip for that matter) creates new temporary file when\r
+> >    updating archive, which takes considerable time when the archive is\r
+> >    very big.\r
+> \r
+> This isn't much of a hastle if you have maildir per time period and\r
+> archive off. Maybe if you sync flags it may be...\r
+\r
+That might be interesting solution, maildir per time period. But still\r
+fuse zip caches all the data until unmounted. So even with just reading\r
+it keeps growing (I hope I'm not accusing fuse zip here, but this is my\r
+understanding form the code). This could be simply alleviated by having\r
+it periodically unmounted and mounted again (perhaps from cron).\r
+\r
+> > Of course this solution would have some disadvantages too, but for me\r
+> > the advantages would win. At the moment I'm not sure if I want to\r
+> > continue working on that. Maybe if there would be more interested guys\r
+> \r
+> I'm *really* tempted to investigate making this work for archived\r
+> mail. Of course, the list of mounted file systems could get insane\r
+> depending on granularity I guess...\r
+\r
+Well, if your granularity will be one archive per year of mail, it\r
+should not be that bad ...\r
+\r
+-- \r
+       Vlad\r