6 CONCLUSIONS
This paper has presented a new database replication
approach, halfway between primary-copyand update-
everywhere paradigms. The result is an improved
performance, which is obtained since the protocol
can change its configuration depending on the load.
Moreover, it also allowsto increase the fault-tolerance
of primary-copy protocols. This is feasible thanks to
the use of a deterministic database replication proto-
col that takes the best qualities from both certification
and weak-voting approaches. This protocol estab-
lishes a unique schedule in all replicas based on pri-
maries identifiers, which ensures that broadcast write-
sets are always going to be committed.
We have also discussed how this protocol can
adapt itself dynamically to different environments (by
turning secondaries into primaries to handle heavy-
update workloads or primaries into secondaries when
read-only transactions become predominant). Finally,
we have performed some preliminary experiments to
prove the feasibility of this approach, showing how
system can provide better performance adapting its
configuration to the load characteristics, although we
have still to make a great effort to achieve more sig-
nificant results.
ACKNOWLEDGEMENTS
This work has been supported by the Spanish Govern-
ment under research grant TIC2006-14738-C02-02.
REFERENCES
Armend´ariz-I˜nigo, J. E., Mu˜noz-Esco´ı, F. D., Ju´arez-
Rodr´ıguez, J. R., de Mend´ıvil, J. R. G., and Kemme,
B. (2007). A recovery protocol for middleware repli-
cated databases providing GSI. In ARES,pages 85–92.
IEEE-CS.
Berenson, H., Bernstein, P. A., Gray, J., Melton, J., O’Neil,
E. J., and O’Neil, P. E. (1995). A critique of ANSI
SQL isolation levels. In SIGMOD, pages 1–10. ACM
Press.
Birman, K. P. and Joseph, T. A. (1987). Exploiting vir-
tual synchrony in distributed systems. In SOSP, pages
123–138.
Chockler, G., Keidar, I., and Vitenberg, R. (2001).
Group communication specifications: a comprehen-
sive study. ACM Comput. Surv., 33(4):427–469.
Cristian, F. (1991). Understanding fault-tolerant distributed
systems. Commun. ACM, 34(2):56–78.
Daudjee, K. and Salem, K. (2006). Lazy database repli-
cation with snapshot isolation. In VLDB, pages 715–
726. ACM.
D´efago, X., Schiper, A., and Urb´an, P. (2004). Total order
broadcast and multicast algorithms: Taxonomy and
survey. ACM Comput. Surv., 36(4):372–421.
Elnikety, S., Pedone, F., and Zwaenopoel, W. (2005).
Database replication using generalized snapshot isola-
tion. In Symposium on Reliable Distributed Systems,
Orlando, FL, USA, pages 73–84. IEEE-CS.
Gonz´alez de Mend´ıvil, J. R., Armend´ariz-I˜nigo, J. E.,
Mu˜noz-Esco´ı, F. D., Ir´un-Briz, L., Garitagoitia, J. R.,
and Ju´arez-Rodr´ıguez, J. R. (2007). Non-blocking
ROWA protocols implement GSI using SI repli-
cas. Technical Report ITI-ITE-07/10, Instituto Tec-
nol´ogico de Inform´atica.
Gray, J., Helland, P., O’Neil, P. E., and Shasha, D. (1996).
The dangers of replication and a solution. In SIGMOD
Conference, pages 173–182. ACM.
Kemme, B. and Alonso, G. (2000). A new approach to de-
veloping and implementing eager database replication
protocols. ACM Trans. Database Syst., 25(3):333–
379.
Kemme, B., Pedone, F., Alonso, G., Schiper, A., and Wies-
mann, M. (2003). Using optimistic atomic broad-
cast in transaction processing systems. IEEE TKDE,
15(4):1018–1032.
Lin, Y., Kemme, B., Pati˜no-Mart´ınez, M., and Jim´enez-
Peris, R. (2005). Middleware based data replication
providing snapshot isolation. In SIGMOD Confer-
ence, pages 419–430. ACM.
Mu˜noz-Esco´ı, F. D., Pla-Civera, J., Ruiz-Fuertes, M. I.,
Ir´un-Briz, L., Decker, H., Armend´ariz-I˜nigo, J. E., and
de Mend´ıvil, J. R. G. (2006). Managing transaction
conflicts in middleware-based database replication ar-
chitectures. In SRDS, pages 401–410. IEEE-CS.
Pla-Civera, J., Ruiz-Fuertes, M. I., Garc´ıa-Mu˜noz, L. H.,
and Mu˜noz-Esco´ı, F. D. (2007). Optimizing
certification-based database recovery. In ISPDC,
pages 211–218. IEEE-CS.
Plattner, C., Alonso, G., and
¨
Ozsu, M. T. (2008). Extending
DBMSs with satellite databases. VLDB J., 17(4):657–
682.
Wiesmann, M. and Schiper, A. (2005). Comparison of
database replication techniques based on total order
broadcast. IEEE TKDE, 17(4):551–566.
Wu, S. and Kemme, B. (2005). Postgres-R(SI): Combin-
ing replica control with concurrency control based on
snapshot isolation. In ICDE, pages 422–433. IEEE-
CS.
ICSOFT 2009 - 4th International Conference on Software and Data Technologies
106