durusmail: durus-users: Replication component?
Replication component?
2010-03-08
2010-03-09
2010-03-09
2010-03-10
Replication component?
Jesus Cea
2010-03-09
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/09/2010 12:30 PM, Binger David wrote:
> This sounds like a capability that would be useful to us, too.

Good!.

> I'm not sure about the details.  Why use separate files for all
> of the pickles?  I think we could use the existing FileStorage code
> for this temporary store.

Well, it is just how my current patch works. Dirty and ugly, but it
works. It is easy and allows easy replication to a remote site, for
instance.

> It seems like the essential function required is a command that
> a client sends to the server to tell the server to start a transaction log.
> Is that right?

I use stacked backend storages, as I said. Not sure if allowing a client
to activate it on demand is appropiate.

Using stacked storages allows to be more flexible, because the stacked
component can do anything with the transactions. They can be stored on
disk, or they can be sent to a remote site for replication. Or simply
extract statistics. Or deploy the readonly+readwrite backends I talked
about in the last message.

Not sure a client can demand this kind of things on the fly, using the
durus wire protocol. Seems more a thing you should do instancing the
right backends in the server process.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea@jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea@jabber.org         _/_/    _/_/          _/_/_/_/_/
..                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBS5ZlKZlgi5GaxT1NAQKiewP9GufUlbGAX5Kr/6WVKsqv67AERhzbXu3v
QSWMgEHX3kOw4vaK5CqeNo4LY9QPIjfpjhn20D6x+WWkkyVuqieA4ZhuoeM0catb
WN8PsQQZAgxdhmxqERK++QG3lQnDu3/aRxNMtYxTDNm0CZaHp879OyJgk21y4uES
KwMZSiVAUvY=
=hmNF
-----END PGP SIGNATURE-----
reply