skip to main content
10.1145/1953355.1953367acmotherconferencesArticle/Chapter ViewAbstractPublication PagesisecConference Proceedingsconference-collections
short-paper

Event-driven replication in distributed systems

Published: 24 February 2011 Publication History

Abstract

In order to address problems related to geographical distribution of application instances, data distribution has been a hot topic for years. Recently, the spectacular evolution of bandwidth, frameworks and components available to build Rich Internet Applications has brought back data centralization practices. As a consequence, most database-centric applications today (e.g. business management software) are being developed using a four tier architecture: presentation logic (web tier), business logic (services), persistence services (object relational mappings and SQL variants) and database management system (one single database). While plenty of data distribution scenarios can still be found in the real world, existing solutions mainly come from DBMS providers. However, in practice it has been proven that these low level replication techniques are not really easy to use and, in most cases, they do not fit well for real-time data replication, due to the fact that: (1) highly reliable network connections are required (uninterrupted connections, in most cases) and (2) every bit has the same critical importance as any other in order to keep data integrity. Even if object-oriented replication techniques exist, such as Hibernate replication API (the well known ORM framework in Java), this paper will show that they cannot be used alone in real production environments where network connections are highly unreliable and expensive. In this short paper we will present one practical case of multiple, geographically distributed application instances, using their own local databases, while real-time synchronization over a highly unreliable and expensive network is needed. The novelty of the solution described in this paper consists in transferring the replication responsibility from database level to application logic level (business services) using a message oriented model. Unlike DBMS replication tools and techniques, our proposed model does provide the critical requirements of real-world replication needs: 1) fault-tolerance and failure recovery with event-based exception handling while still keeping the system up and running; 2) information-centric instead of bit-centric system; 3) ability to deal with numerous, unpredictable, network connections breakdowns; 4) ability to replicate data over heterogeneous platforms (both application and database level); 5) ability to run within an a multiversion application environment (different application versions on different replication nodes).

References

[1]
Ambler, S. 2009. Choosing a Primary Key: Natural or Surrogate? Retrieved September 03, 2010, from http://www.agiledata.org/essays/keys.html.
[2]
Amiri, K., Park, S., Tewari, R., Padmanabhan. S. 2003. DBProxy: A Dynamic Data Cache for Web Applications. In Proceedings of the 19th International Conference on Data Engineering (Bangalore, India, March 5--8, 2003). ICDE'03. DOI= http://doi.ieeecomputersociety.org/10.1109/ICDE.2003.1260881.
[3]
Cecchet, E., Candea, G., Ailamaki, A. 2008. Middleware-based Database Replication: The Gaps Between Theory and Practice. In Proceedings of the 2008 ACM SIGMOD international conference on Management of data (Vancouver, Canada, June 9--12, 2008). SIGMOD'08. ACM, New York, NY, 739--752. DOI=http://doi.acm.org/10.1145/1376616.1376691.
[4]
GORDA project. 2006. State of the Art in Database Replication--Deliverable D1.1. Retrieved September 03, 2010, from GORDA web site http://gorda.di.uminho.pt/library/wp1/GORDA-D1.1-V1.2-p.pdf.
[5]
Gray, J. N., Helland, P., O'Neil, P., Shasha, D. 1996. The Dangers of Replication and a Solution. In Proceedings of the ACM SIGMOD International Conference on Management of Data (Montreal, Quebec, Canada, June 1996). ACM, New York, NY, 173--182. DOI=: http://doi.acm.org/10.1145/233269.233330.
[6]
Larson, P., Goldstein, J. Zhou, J. 2003 Transparent Mid-tier Database Caching in SQL Server. In Proceedings of the 2003 ACM SIGMOD International Conference on Management of Data (San Diego, California, 2003). ACM, New York, NY, 661--661. DOI= http://doi.acm.org/10.1145/872757.872848.
[7]
Lomet, D., Barga, R. 2002. Phoenix Project: Fault Tolerant Applications. ACM SIGMOD Record, Volume 31, (Issue 2), June 2002, 94--100.
[8]
Luckham, D. 2007. SOA, EDA, BPM and CEP are all Complementary. Retrieved January 05, 2008, http://www.complexevents.com/2007/07/08/soa-eda-bpm-and-cep-are-all-complementary-part-2/.
[9]
Plattner, C., Alonso, G. 2004. Ganymed: Scalable Replication for Transactional Web Applications. In Proceedings of the 5th ACM/IFIP/USENIX international conference on Middleware, (Toronto, Canada, October 2004). Springer-Verlag New York, Inc. New York, NY, USA, 155--174.
[10]
Pritchett, D. 2008. BASE: An Acid Alternative. Queue, Volume 6 (Issue 3), May/June 2008, 48--55. DOI= http://doi.acm.org/10.1145/1394127.1394128

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
ISEC '11: Proceedings of the 4th India Software Engineering Conference
February 2011
229 pages
ISBN:9781450305594
DOI:10.1145/1953355
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

  • Computer Society of India: Computer Society of India

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 24 February 2011

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. distributed systems
  2. event-driven system
  3. message-oriented model
  4. replication
  5. service oriented architecture

Qualifiers

  • Short-paper

Conference

ISEC '11
Sponsor:
  • Computer Society of India
ISEC '11: Indian Software Engineering Conference
February 24 - 27, 2011
Kerala, Thiruvananthapuram, India

Acceptance Rates

Overall Acceptance Rate 76 of 315 submissions, 24%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 283
    Total Downloads
  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)0
Reflects downloads up to 13 Feb 2025

Other Metrics

Citations

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media