Figure 6: Delay of Synchronization Message.
sage. Additionally to T
O f f set
the times for processing
the synchronization message of the first change T
P,1
as
well as the transfer time T
N,1
are necessary. The times
for the second change are T
P,2
and T
N,2
. An additional
offset for the second change is not necessary because
it is sent within the same synchronization message.
All values can be determined with the help of the cost
model. The synchronization message can sent at the
latest at (t1 +∆t)−(T
O f f set
+T
P,1
+T
N,1
+T
P,2
+T
N,2
)
which equals t
4
.
In the example, the third change at t
3
cannot be
included in the same synchronization message. The
sum of all processing times T
P,1
, T
P,2
, T
P,3
, all transfer
times T
N,1
, T
N,2
, T
N,3
and the offset exceeds the time
left between t
3
and t
1
+ ∆t. Bulking all three changes
in on synchronization message violates the temporal
distance ∆t for the first change V
1
.
8 CONCLUSIONS
This paper discusses an approach for adaptive syn-
chronization of business objects replicated at the
middle-tier. We introduced a profiling for BOs and
system parameters. Profiling allows determining the
processing and transfer costs for the synchronization.
The sending of full copies of BOs or delta synchro-
nization messages as well as temporal consistency
constraints are considered. A cost model based on an
experimental evaluation allows configuring the used
replication strategy to achieve an efficient synchro-
nization. A validation was done by profiling real BO
instances and the implementation of a simulation en-
vironment. The introduced approach of adaptive syn-
chronization is applicable for an initial configuration
of the replication strategy for BOs and an adoption
during runtime.
REFERENCES
Ameling, M., Roy, M., and Kemme, B. (2008). Replication
in service oriented architectures. In Helfert, M., editor,
ICSOFT, pages 103–110. INSTICC Press.
Ameling, M., Wolf, B., Armendariz-Inigo, J. E., and Schill,
A. (2009). A cost model for efficient business object
replication. In AINAW ’09 (to appear).
Barga, R., Lomet, D., and Weikum, G. (2002). Recov-
ery guarantees for general multi-tier applications. In
ICDE.
Felber, P. and Narasimhan, P. (2002). Reconciling replica-
tion and transactions for the end-to-end reliability of
CORBA applications. In (DOA).
Gray, J., Helland, P., O’Neil, P., and Shasha, D. (1996). The
dangers of replication and a solution. In SIGMOD,
pages 173–182.
Killijian, M.-O. and Fabre, J. C. (2000). Implementing a
reflective fault-tolerant CORBA system. In SRDS.
Lenz, R. (1996). Adaptive distributed data management
with weak consistent replicated data. In SAC ’96,
pages 178–185, New York, NY, USA. ACM.
Marta Pati n.-M., Jim
´
enez-Peris, R., Kemme, B., and
Alonso, G. (2005). Middle-r: Consistent database
replication at the middleware level. ACM Trans. Com-
put. Syst., 23:375 – 423.
Othman, O., O’Ryan, C., and Schmidt, D. C. (2001).
Strategies for CORBA middleware-based load bal-
ancing. In IEEE Distributed Systems Online.
http://www.computer.org/dsonline.
Pacitti, E., Minet, P., and Simon, E. (1999). Fast algo-
rithm for maintaining replica consistency in lazy mas-
ter replicated databases. In VLDB, pages 126–137.
Pedone, F., Guerraoui, R., and Schiper, A. (2003). The
database state machine approach. Distributed and
Parallel Databases, 14(1):71–98.
Perez-Sorrosal, F., Pati
˜
no-Mart
´
ınez, M., Jim
´
enez-Peris, R.,
and Kemme, B. (2007). Consistent and scalable cache
replication for multi-tier j2ee applications. In Middle-
ware.
Plattner, C. and Alonso, G. (2004). Ganymed: Scalable
replication for transactional web applications. Mid-
dleware, pages 155 – 174.
Plattner, C., Alonso, G., and T.-
¨
Ozsu, M. (2007). Extending
DBMSs with satellite databases. The VLDB Journal.
Salas, J., Perez-Sorrosal, F., Marta Pati n.-M., and Jim
´
enez-
Peris, R. (2006). Ws-replication: a framework for
highly available web services. WWW.
W3C (2002). Web services. http://www.w3.org/2002/ws/.
Wu, H. and Kemme, B. (2005). Fault-tolerance for stateful
application servers in the presence of advanced trans-
actions patterns. In (SRDS).
ICSOFT 2009 - 4th International Conference on Software and Data Technologies
98