MOERS : An Eager Replication Scheme using Extended Messaging Order of Group Communication

MOERS : 그룹 통신의 메시징 순서를 확장한 즉시 갱신 중복 기법

  • Published : 2002.12.01

Abstract

Most of previous replication schemes assume lazy schemes, which asynchronously propagate replica updates to other nodes after the updating transaction commits. While lazy schemes are novel in the sense that they can resolve high deadlock frequencies of eager schemes, they suffer from the fact that users should be responsible for the data consistency. Recently replication schemes based on the messaging order of group communication have been studied. They can reduce the deadlock frequencies using the messaging order, but they have another problem of increasing execution overhead of aborted transactions at high degree of concurrency. This is because the sender node validates global serializability after multicasting replica update messages to other nodes. In this paper, we propose an efficient eager replication scheme for reducing the number of messaging and overhead of aborted transactions significantly. The proposed scheme validates any conflicts before multicasting and does not multicast when there is any conflict; hence, it can exploit performance improvement by alleviating the message traffic for replica update or by reducing the number of disk accesses and locking delay due to aborted transactions.

기존에 제안된 대부분의 중복 기법은 원본 트랜잭션을 완료한 후 비동기적으로 중복사본에 대한 갱신 요구를 방송하는 지연 갱신 기법을 가정하였다. 지연 갱신 기법은 즉시 갱신 기법에서 발생하는 빈번한 교착상태 발생 문제를 해결할 수는 있지만 데이타 일관성 유지가 사용자 책임이라는 단점을 갖는다. 최근 그룹 통신의 메시징 순서를 적용한 즉시 갱신 중복 기법들이 제안되고 있다. 이들 기법은 메시징 순서를 이용하여 교착상태 발생률을 줄였지만, 송신 노드는 갱신 요구 메시지를 방송한 후 전역 직렬성을 검증하는 낙관적 기법을 채택하기 때문에 동시성이 증가할수록 철회 트랜잭션의 실행 오버헤드가 증가한다는 문제점을 갖는다. 본 논문에서는 철회 트랜잭션의 갱신 매시지 방송과 실행 오버헤드를 줄일 수 있는 즉시 갱신 중복 기법을 제안한다. 제안한 기법은 갱신 요구 매시지를 방송하기 전에 전역 직렬성 검사가 이루어지기 때문에 완료 트랜잭션은 한번의 메시지 방송으로 처리할 수 있다. 뿐만 아니라, 철회 트랜잭션은 다른 노드로 방송할 필요가 없기 때문에 메시지 전송 횟수를 줄일 수 있으며, 철회 트랜잭션의 실행으로 인한 디스크 액세스 수와 로크 대기 시간을 줄임으로써 성능을 향상시킨다.

Keywords

References

  1. Proc. ACM SIGMOD The Dangers of Replication and a Solution J. Gray;P. Helland;P. O'Neil;D. Shasha
  2. Proc. ACM SIGMOD Replication, Consistency, and Practicality: are These Mutually Exclusive? T. Anderson;Y. Breitbart;H. F. Korth;A. Wool
  3. Proc. 16th ACM Symposium on Principles of Database Syst Replication and Consistency:being Lazy Helps Sometimes Y. Breitbart;H. F. Korth
  4. Proc. Int'l Conf. on Data Eng. Deferred Updates and Data Placement in Distributed Databases P. Chundi;D. J. Rosenkrantz;S. Ravi
  5. Proc. Int'l Conf. on VLDB Fast Algorithms for Maintaining Replica Consistency in Lazy Master Replicated Databases E. Pacitti;P. Minet;E. Simon
  6. Proc. 3rd USENIX Conf. on Object-Oriented Technologies and Syst. Gold Rush: Mobile Transaction Middleware with Java-Object Replication M. Butrico(et al)
  7. Proc. IEEE 29th Int'l Symposium on Fault Tolerant Computing The Performance of Database Replication with Group Multicast J. Holliday;D. Agrawal;A. Abbadi
  8. Proc. 19th IEEE Symposium on Reliable Distributed Syst. Using Multicast Communication to Reduce Deadlock in Replicated Databases J. Holliday;D. Agrawal;A. Abbadi
  9. Proc. 18th Int'l Conf. on Distributed Computing Syst. A suite of Database Replication Protocols based on Group Communication Primitives Distributed Computing Systems B. Kemme;G. Alonso
  10. Proc. Int'l Conf. on VLDB Don't be Lazy, be Consistent: Postgres-R, A new Way to Implement Database Replication B. Kemme;G. Alonso
  11. ACM Trans. Database Syst. v.25 no.3 A New Approach to Developing and Implementing Eager Database Replication Protocols B. Kemme;G. Alonso https://doi.org/10.1145/363951.363955
  12. Proc. 19th IEEE Int'l Conf. on Distributed Computing Syst. Processing Transactions over Optimistic Atomic Broadcast Protocols B. Kemme;F. Pedone;G. Alonso;A. Schiper
  13. Proc. ACM SIGMOD Fine-Grained Sharing in page Server DBMS M. Carey;M. Franklin;M. Zaharioudakis
  14. IEEE/ACM Trans. Networking v.6 no.5 An Evaluation of Flow Control in Group Communication S. Mishra;L. Wu https://doi.org/10.1109/90.731193
  15. Proc. 16th Int'l Conf. on Distributed Computing Syst. An Evaluation of the Amoeba Group Communication System M. F. Kaashoek;A. Tanenbaum
  16. ACM Trans. Computer Syst. v.9 no.3 lightweight Casual and Atomic Group Multicast K. P. Birman;A. Schiper;P. Stephenson https://doi.org/10.1145/128738.128742
  17. Comm. ACM v.39 no.4 Totem: A Fault-tolerant Multicat Group Communication System L. Moser(et al) https://doi.org/10.1145/227210.227226
  18. CSIM User Guide for use with CSIM Revision 16 H. Schwtman
  19. Proc. 6th IEEE Workshop on Future Trends of Distributed Computing Syst. Performance of Cache Coherency Schemes in a Shared Disks Transaction Environment H. Cho
  20. ACM Trans. database Syst. v.10 no.4 Locking Performance in Centralized Databases Y. C. Tay;N. Goodman;R. Suri https://doi.org/10.1145/4879.4880