5.2 Overhead of the Eager and Lazy
Approaches
Furthermore, we carried out an experiment to mea-
sure the network overhead of our solution, and to
identify which approach costs more in terms of mes-
sages. We use the same configuration as previously,
i.e., we consider 10 SN nodes, 10 XN and a concur-
rency rate of 30%. We report in Figure 5 the results
that unveil the high number of messages used by the
eager approach where the lazy one requires less mes-
sages. This is due to the fact that the eager approach
generates a set of messages for each multi-partitions
transactions while the lazy waits a time window and
aggregates/optimizes the total messages to send for
routing and processing transactions.
Figure 5: Number of messages vs. number of XN (or num-
ber of tokens).
6 CONCLUSION
In this paper, we propose blockchain-based model for
routing social transactions. It is a two steps approach:
a scheduling step followed by an execution step. The
transactions are ordered during the scheduling step in
such a way that each transaction is followed or pre-
ceded by another one within a block and based on
their access class. Afterwards, each block of trans-
actions is executed at the nodes storing the required
data. Once a block is sent for execution, it remains
unchanged and hence, the execution order stays iden-
tical for all the nodes involved. To reach our goal, we
rely on the algorithms proposed in our previous works
(Sarr et al., 2013) to reduce the communication cost.
Moreover, we propose a lightweight concurrency con-
trol by using tokens that serve to synchronize simul-
taneous access to the same data. We focus specially
on the case in which transactions require several ac-
cess classes. We designed and simulated our solu-
tion using SimJava and we ran a set of experiments.
Ongoing works are conducted to evaluate completely
our solution in a cloud platform and to manage group
transactions size for optimal execution.
REFERENCES
Abadi, D. (2012). Consistency tradeoffs in modern dis-
tributed database system design: Cap is only part of
the story. IEEE Computer, 45(2):37–42.
Aguilera, M. K., Merchant, A., Shah, M., Veitch, A., and
Karamanolis, C. (2007). Sinfonia: a new paradigm for
building scalable distributed systems. SIGOPS Oper.
Syst. Rev., 41(6):159–174.
Barber, S., Boyen, X., Shi, E., and Uzun, E. (2012). Bitter
to better — how to make bitcoin a better currency. In
FCDS, volume 7397 of LNCS, pages 399–414.
Chang, F., Dean, J., Ghemawat, S., Hsieh, W. C., Wallach,
D. A., Burrows, M., Chandra, T., Fikes, A., and Gru-
ber, R. E. (2006). Bigtable: a distributed storage sys-
tem for structured data. In USENIX OSDI, pages 15–
15.
Das, S., Agrawal, D., and El Abbadi, A. (2013). Elastras:
An elastic, scalable, and self-managing transactional
database for the cloud. ACM TODS, 38(1):5–45.
Howell, F. and Mcnab, R. (1998). simjava: A discrete event
simulation library for java. In ICWMS, pages 51–56.
Kallman, R., Kimura, H., Natkins, J., Pavlo, A., Rasin, A.,
Zdonik, S., Jones, E. P. C., Madden, S., Stonebraker,
M., Zhang, Y., Hugg, J., and Abadi, D. J. (2008). H-
store: a high-performance, distributed main memory
transaction processing system. Proc. VLDB Endow.,
1(2):1496–1499.
Lakshman, A. and Malik, P. (2010). Cassandra: a decen-
tralized structured storage system. Operating Systems
Review, 44(2):35–40.
Michael, M. M. and Scott, M. L. (1995). Implementation of
atomic primitives on distributed shared memory mul-
tiprocessors. In IEEE HPCA, pages 222–231.
Oracle, C. (Retrieved on November 2014). Oracle nosql
database, 11g release 2.
Pandis, I., Johnson, R., Hardavellas, N., and Ailamaki, A.
(2010). Data-oriented transaction execution. Proc.
VLDB Endow., 3(1-2):928–939.
Pandis, I., T
¨
oz
¨
un, P., Johnson, R., and Ailamaki, A. (2011).
Plp: Page latch-free shared-everything oltp. Proc.
VLDB Endow., 4(10):610–621.
Sarr, I., Naacke, H., and Moctar, A. O. M. (2013). STRING:
social-transaction routing over a ring. In DEXA, pages
319–333.
Silberstein, A., Chen, J., Lomax, D., McMillan, B., Mor-
tazavi, M., Narayan, P. P. S., Ramakrishnan, R., and
Sears, R. (2012). Pnuts in flight: Web-scale data serv-
ing at yahoo. IEEE Internet Computing, 16(1):13–23.
Thomson, A., Diamond, T., Weng, S.-C., Ren, K., Shao, P.,
and Abadi, D. J. (2012). Calvin: fast distributed trans-
actions for partitioned database systems. In SIGMOD,
pages 1–12.
Vogels, W. (2009). Eventually consistent. Commun. ACM,
52(1):40–44.
Blockchain-basedModelforSocialTransactionsProcessing
315