1 Return-Path: <sojkam1@fel.cvut.cz>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id C96DE40DDE3
\r
6 for <notmuch@notmuchmail.org>; Fri, 12 Nov 2010 21:26:12 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9] autolearn=ham
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 4qW2AZC8ZAXu for <notmuch@notmuchmail.org>;
\r
16 Fri, 12 Nov 2010 21:26:02 -0800 (PST)
\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 1665140DDD3
\r
19 for <notmuch@notmuchmail.org>; Fri, 12 Nov 2010 21:26:02 -0800 (PST)
\r
20 Received: from localhost (unknown [192.168.200.4])
\r
21 by max.feld.cvut.cz (Postfix) with ESMTP id 661BF19F335A;
\r
22 Sat, 13 Nov 2010 06:26:00 +0100 (CET)
\r
23 X-Virus-Scanned: IMAP AMAVIS
\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])
\r
25 by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,
\r
27 with ESMTP id tEEg48sMe6di; Sat, 13 Nov 2010 06:25:59 +0100 (CET)
\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])
\r
29 by max.feld.cvut.cz (Postfix) with ESMTP id 2405519F3351;
\r
30 Sat, 13 Nov 2010 06:25:59 +0100 (CET)
\r
31 Received: from steelpick.2x.cz (unknown [213.29.198.144])
\r
32 (Authenticated sender: sojkam1)
\r
33 by imap.feld.cvut.cz (Postfix) with ESMTPSA id 32ACEFA004;
\r
34 Sat, 13 Nov 2010 06:25:57 +0100 (CET)
\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)
\r
36 (envelope-from <sojkam1@fel.cvut.cz>)
\r
37 id 1PH8cf-0004vd-IV; Sat, 13 Nov 2010 06:25:57 +0100
\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
39 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
\r
40 Subject: Re: Second draft of logging patches
\r
41 In-Reply-To: <877hgln9xg.fsf@rocinante.cs.unb.ca>
\r
42 References: <1286803617-17328-1-git-send-email-david@tethera.net>
\r
43 <1287954066-24512-1-git-send-email-david@tethera.net>
\r
44 <877hgln9xg.fsf@rocinante.cs.unb.ca>
\r
45 User-Agent: Notmuch/0.5-11-g48b5e00 (http://notmuchmail.org) Emacs/23.2.1
\r
46 (x86_64-pc-linux-gnu)
\r
47 Date: Sat, 13 Nov 2010 06:25:57 +0100
\r
48 Message-ID: <87vd41pzfe.fsf@steelpick.2x.cz>
\r
50 Content-Type: text/plain; charset=us-ascii
\r
51 X-BeenThere: notmuch@notmuchmail.org
\r
52 X-Mailman-Version: 2.1.13
\r
54 List-Id: "Use and development of the notmuch mail system."
\r
55 <notmuch.notmuchmail.org>
\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
59 List-Post: <mailto:notmuch@notmuchmail.org>
\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
63 X-List-Received-Date: Sat, 13 Nov 2010 05:26:12 -0000
\r
65 On Wed, 10 Nov 2010, David Bremner wrote:
\r
66 > On Sun, 24 Oct 2010 18:01:02 -0300, david@tethera.net wrote:
\r
67 > > Here is my second try at logging, taking into account the feedback I
\r
68 > > got from Rob and Michal. There is definitely some tidying to do; in
\r
69 > > particular I know the protoypes in public headers need
\r
70 > > documentation. Also, I should add a configuration option to
\r
71 > > enable configuration by command or something like that.
\r
73 > I had a thought of a possibly interesting application of the (yet to be
\r
74 > written) log playback code. It could be use to implement a simple
\r
75 > queuing system where commands are only logged but not actually run on
\r
76 > the database. I'm not sure about the performance implications, but it
\r
77 > could be interesting because it eliminates the need to have a server
\r
78 > running in order to eliminate write contention for the tag database.
\r
79 > The "queue runner" could be as simple as a cron job, or it could be
\r
80 > something spawned by one of the queue operations; the point would be
\r
81 > that queueing could continue while the snapshot of the queue was run.
\r
83 Hi, I think this could be very interesting and that it could make the
\r
84 tagging operation asynchronous and thus faster as was suggested by
\r
85 Sebastian in id:"87k4l5whwe.fsf@SSpaeth.de".
\r
87 In this case, however, the queuing should happen in the client, not in
\r