From: David Bremner Date: Fri, 27 Jun 2014 14:19:18 +0000 (+2100) Subject: Re: Remote xapian database X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d2e35069986e85b888321253a69318b0c00f7222;p=notmuch-archives.git Re: Remote xapian database --- diff --git a/d7/14a2b4b83b07c4f357877296469ef9f56d3075 b/d7/14a2b4b83b07c4f357877296469ef9f56d3075 new file mode 100644 index 000000000..b8469da70 --- /dev/null +++ b/d7/14a2b4b83b07c4f357877296469ef9f56d3075 @@ -0,0 +1,80 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 199B8431FB6 + for ; Fri, 27 Jun 2014 07:19:32 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id f5+fmFZPXSyS for ; + Fri, 27 Jun 2014 07:19:24 -0700 (PDT) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 9ECC6431FAE + for ; Fri, 27 Jun 2014 07:19:24 -0700 (PDT) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1X0Wzq-0000sz-RT; Fri, 27 Jun 2014 11:19:22 -0300 +Received: (nullmailer pid 32747 invoked by uid 1000); Fri, 27 Jun 2014 + 14:19:18 -0000 +From: David Bremner +To: Roman Kravets +Subject: Re: Remote xapian database +In-Reply-To: <20140627091526.GC12249@router.softded.net> +References: <20140626103909.GA13120@router.softded.net> + <87oaxfftm0.fsf@zancas.localnet> + <20140627091526.GC12249@router.softded.net> +User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Fri, 27 Jun 2014 11:19:18 -0300 +Message-ID: <87bntefna1.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 27 Jun 2014 14:19:32 -0000 + +Roman Kravets writes: + +> It is not problem. Storage - it low cost resources. I have problem +> with CPU utilization. When I use "notmuch new" my CPU used 100% :( If +> can I move database to another server, it remove load from my slow +> computer. + +It's hard for me to judge how many people would be interested in such a +"half distributed" solution, but if someone wants to investigate, the +pieces I can see right away are + +1) figuring out the configuration changes needed to separate the +location of the database from the location of the mail files. This is +something we've been wanting to do anyway, just so people can use +different disks, so you could probably get help with that. + + +2) Figure out how to nicely encode the remote versus local +distinction without adding heavy dependencies to notmuch. There is some +related discussion at + + id:1340656899-5644-1-git-send-email-ethan@betacantrips.com + +2) The actual remote database open would be done in +notmuch_database_open, in lib/database.cc +