[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: MDB, read/write mmap



Nikolaos Milas wrote:
> On 4/9/2012 5:14 ÎÎ, Howard Chu wrote:
>> It seems to me this can only be a viable mode of operation if you're always
>> going to run asynch and don't care much about transaction durability or DB
>> recoverability. Running in this mode offers absolutely zero crash resistance;
>> the entire DB will almost always be irreparably damaged after a system crash.

>> Would you run like that, if it offered you the potential of maybe 10x faster
>> write performance?

> Absolutely not! DB reliability is crucial to us. Transaction durability 
> too, esp. since we are using syncrepl in refreshAndPersist mode and 
> numerous production systems (consumers) are affected.
> 
> Thanks for asking!

Thanks for your response; that's my view on it as well. Still, there's room
for experimentation and there are other folks using the MDB library in their
own applications, who may be OK with different reliability levels. It looks
like we can actually support all of these optional behaviors without too much
fuss.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/