Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-01-2006, 12:43 AM
Active Member
 
Posts: 33
Default Message blobs in Mysql, easy replication?

So I see that the message store has been divided into metadata stored in mysql and the filessystem for the actual message. I understand that the decision to use the filesystem allowed for increased performance.

I am wondering how hard it would be to store the message blobs in the MySql rather than in the file system. This would allow for a secondary hot backup server to be synced up by simply using the standard master/slave MySql replication.

This concept has been tested in production for some time now by the developers of DBMail.org, another open IMAP server, but that uses MySQL exclusively for its message store.

Any thoughts? I was thinking of this more as an optional configuration rather than a replacement of the current system.

I am much more concerned with up time than speed so would be willing to take a performance hit to make this change.
Reply With Quote
  #2 (permalink)  
Old 02-01-2006, 08:30 AM
Zimbra Employee
 
Posts: 2,103
Default blobs in mysql

We've seen problems (eg data corruption) with that kind of data in mysql.
Reply With Quote
  #3 (permalink)  
Old 02-01-2006, 11:50 AM
Active Member
 
Posts: 33
Default

I've heard of similiar issues. However the developers at DBMail seem to have mafe it around the issue. I could chat with them about it.

In the interest of curiousity, is the message store to the filesystem in just a few methods? or is it burried in the entire system? If it wouldn't be too hard I might just want to play around with it.

I'll be digging into the code next week to get myself familiar, so will probably will just find it, but thought I'd ask

Thanks,

Kevin

Last edited by kbaker; 02-01-2006 at 01:33 PM..
Reply With Quote
  #4 (permalink)  
Old 02-08-2006, 11:43 PM
Zimbra Employee
 
Posts: 1,434
Default Blobs in the DB

Quote:
Originally Posted by kbaker
In the interest of curiousity, is the message store to the filesystem in just a few methods? or is it burried in the entire system? If it wouldn't be too hard I might just want to play around with it.
Theoretically, you should just be able to implement a new subclass of com.zimbra.cs.store.StoreManager. Please let us know how it goes.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.