[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Handle-info] handle replication / mirroring update questions
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I would like to get in contact with somebody who
has experience with mirroring / replication of
servers in the handle system. My questions are:
How do the servers know when to sync, which handles?
Which server does initiate the update, the mirror
server or the primary server of the mirrored area?
Is this related to the timestamp / TTL, and if so,
when is it checked? Regular intervals or only if a
client queries the mirror server? What happens if
the timestamp is not set (default is setting it to
zero in the HandleValue(index, type, value) java
constructor for values, only the many-parameter
extended constructor lets you set a time manually)?
Background is that we use The Handle System only as
an external interface. So the replication should
also work if we read (on primary and mirror) and
write (on primary) via the fast SQLHandleStorage
instead of the complex networked Handle System TCP
protocol with lots of slow handshaking...
It would probably be acceptable if we could read
the mirror only via TCP, but writing the server
via SQL is needed. We could modify our code to set
the timestamp / TTL via the SQLHandleStorage if
that is required for proper replication.
Thanks for shedding some light on mirrors :-).
Eric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFGkg9x99dkROyhRRsRAltRAJ9I5r/WIEG/YLOp6rElyF76Rglj/ACePqMq
eqmR3M6K73ih72ZvuBz8Ws0=
=4fji
-----END PGP SIGNATURE-----
_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info