[Csync2] Working on database abstration layer and mysql support

Art -kwaak- van Breemen ard+csync2 at telegraafnet.nl
Mon Aug 23 11:05:00 CEST 2010


Hi,

On Sat, Aug 21, 2010 at 11:05:27PM +0200, Dennis Schafroth wrote:
> I am working on a patch to introduce a simple database abstraction layer, so it will be easier to introduce alternative databases. I also have the a basic mysql version (almost) working, it has crashed on a OpenSuse box, but worked on my Fedora boxes.
> 
> If there are any brave volunteers, that wants to try, let me know. It wont be clean at the moment. 

You might also check out my patches from this winter.
It creates a seperate daemon that abstracts csync2 calls into rpc
calls. (Actually it's more of an sql daemon).
Because of the abstraction it's easy to talk to another database
from within the daemon.
I have this working for a long time, and it takes away any
locking issues by serializing the requests to the sqlite
database. The downside is that you cannot access the sqlite
database with sqlite3 :-).
But the main point was: the abstraction layer and rpc was working
pretty well.


Regards,
Ard


More information about the Csync2 mailing list