db4 backend alternative

Mark Hannessen mark at nperfection.com
Fri Dec 10 08:08:39 EST 2004


lol, so this thread is still running..
been a while since I started it.

I must say i am very pleased with skiplist, I have simulated a few hunderd 
crashes and it was able to recover every time. with db4 I had to pray for a 
succesfull restart or lose all my mail. (not kidding)

the reason I switched to linux wasn't speed... because speed is cheap.

it was stability and security.

I think that in general people with few users won't care about the little 
random seek speed gain from db4, and people with many many many users would 
like to go to sleep at night, knowing that when they wake up there cyrus 
server is still having a good time handing mail over to users.

I am not a technical dude, skiplist might be plain ugly, but from my 
perspective it works at what it is supposed to do. db4 fails that purpose.

If I had to choose, skiplist would be the default a not db4. think about the 
bad impression it gives when new users see cyrus imap destroy all there mail 
before there eyes while doing a simple cyrus reboot. you would lose all faith 
in that product and switch to another one right?

And the worst thing it that this isn't needed at all.
cyrus is a good product. but people won't use it if they can't see that.

regards from a happy cyrus user,

Mark Hannessen

On Friday 10 December 2004 13:18, you wrote:
> Michael Sims wrote:
> > Denny Schierz wrote:
> > > Am Montag, den 22.11.2004, 22:51 +0000 schrieb Mark Hannessen:
> > >> I am really wondering about this because I just can't seem to get
> > >> db4 to run stable.
> > >
> > > same problem here. I have to delete once a week all db's (but
> > > mailboxes.db). Otherwise i have timeouts and bouncing mails :-/
> >
> > Seriously, why don't you guys switch to skiplist and avoid the whole
> > Berkeley DB mess?  I switched to skiplist for mailboxes.db, deliver.db,
> > and the seen databases (on 2.1.x) about a year and a half ago and haven't
> > had a problem since.  Berkeley DB
>
> Same here. Switched a year ago and not a worry in the world.
> The only difference is that I'm using deliver with db3-nosync (as with
> the tls_sessions) and the subscribed folders databases are flat files.
> The rest is all skiplist.
>
> > may perform better in some situations, but IMHO it's not worth the hassle
> > it brings. YMMV...
>
> Regards

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list