[Chandler-dev] Compaction feature

Grant Baillie grant at osafoundation.org
Fri May 18 09:13:32 PDT 2007


Doing stuff at quit time doesn't seem quite right: I can certainly  
see people leaving the app running for a long time.

Another alternative is to have the dialog threaten, er I mean  
promise, to compact in a while, e.g. 2 minutes, with options to  
cancel or proceed right away. Some Mac OS X software does this (e.g.  
Backup): personally, I find that works pretty well.

--Grant

On 18 May, 2007, at 08:26, D John Anderson wrote:

> How about doing the compact automatically, i.e. without any user  
> intervention, occasionally after you quit Chandler. That way our  
> users don't need to be bothered learning about Chandler's  
> housekeeping details.
>
> If you insist on having a dialog, how about always bringing it up  
> when compacting after quitting, but give it a single button:  
> cancel, so you if you do nothing it just works.
>
> John
>
>
> On May 17, 2007, at 6:57 PM, Reid Ellis wrote:
>
>> On May 17, 2007, at 17:59, Andi Vajda wrote:
>>> On Thu, 17 May 2007, Jared Rhine wrote:
>>>> I sent this email a couple days ago:
>>>>
>>>> http://lists.osafoundation.org/pipermail/chandler-dev/2007-May/ 
>>>> 008233.html
>>>>
>>>> but multiple people told me they didn't get a copy.  So a quick  
>>>> resend.  The body:
>>>>
>>>> -------- Original Message --------
>>>> Subject: 	[commits] (vajda) [14318] - fixed bug in trying to  
>>>> duplicate a
>>>> closed cursor
>>>>
>>>> - added CompactTask, a durable task compacting the repository  
>>>> every 7 days
>>>>
>>>> -----
>>>>
>>>> Am I reading this right, that every 7 days all Chandler users  
>>>> will have
>>>> to confirm a dialog (or reject and get that dialog the next day)?
>>>
>>> Yes, this is a 'courtesy'. The alternative is have chandler block  
>>> the UI once a week for doing a compact for a few minutes to a bit  
>>> more (on Esther's repository of 6500 versions, it ran in 3.5 hours).
>>>
>>> In other words, if your repository got so big as to cause a lot  
>>> of disk access when iterated to be compacted, your CPU usage goes  
>>> down to 10% (or less) and your HDD usage goes to 100%. On a  
>>> laptop, this can be v e r y  s l o w.
>>>
>>>> I certainly understand how the functionality of compaction will  
>>>> be a
>>>> benefit to end-users.  Just not too psyched at the UI aspects.   
>>>> Has all
>>>> the charm of a recurring Windows systray security popup.
>>>
>>> :)
>>>
>>> Andi..
>>
>> I would hope that this dialog requires zero interaction -- no  
>> "Okay" button or anything. Just a "Cancel" in case you don't want  
>> to do it now? So it runs and closes itself?
>>
>> Reid
>>
>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>>
>> Open Source Applications Foundation "chandler-dev" mailing list
>> http://lists.osafoundation.org/mailman/listinfo/chandler-dev
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "chandler-dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/chandler-dev



More information about the chandler-dev mailing list