[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] use case for :memory: database?
From: |
Timothy Brownawell |
Subject: |
Re: [Monotone-devel] use case for :memory: database? |
Date: |
Sat, 08 Jan 2011 19:36:07 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101213 Iceowl/1.0b2 Icedove/3.1.7 |
On 01/08/2011 05:02 PM, Thomas Keller wrote:
> Am 08.01.11 17:29, schrieb Stephen Leake:
>> I'm adding a description of the global options to monotone.texi.
>>
>> What is the use case for :memory: database?
>
> One is for example that it gives you a throw-away database for remote
> automate actions: If you (as a client) connect to a remote server from
> which you query data, netsync requires some server identification
> chatter, but since you do not actually need a local database, au remote
> and au remote_stdio do fallback to :memory: by default and forget the
> server key after the connection has been closed.
>
> There might be other use cases for throw-away databases as well, but I
> don't remember any thats not of academic nature...
The initial reason was for unit testing of things that spawn and talk to
automate stdio instances.
--
Timothy
Free public monotone hosting: http://mtn-host.prjek.net