Title :
Exploiting Total Order Multicast in Weakly Consistent Transactional Caches
Author :
Ruivo, Pedro ; Couceiro, Maria ; Romano, Paolo ; Rodrigues, Luís
Author_Institution :
INESC-ID Lisboa, Univ. Tec. de Lisboa, Lisbon, Portugal
Abstract :
Nowadays, distributed in-memory caches are increasingly used as a way to improve the performance of applications that require frequent access to large amounts of data. In order to maximize performance and scalability, these platforms typically rely on weakly consistent partial replication mechanisms. These schemes partition the data across the nodes and ensure a predefined (and typically very small) replication degree, thus maximizing the global memory capacity of the platform and ensuring that the cost to ensure replica consistency remains constant as the scale of the platform grows. Moreover, even though several of these platforms provide transactional support, they typically sacrifice consistency, ensuring guarantees that are weaker than classic 1-copy serializability, but that allow for more efficient implementations. This paper proposes and evaluates two partial replication techniques, providing different (weak) consistency guarantees, but having in common the reliance on total order multicast primitives to serialize transactions without incurring in distributed deadlocks, a main source of inefficiency of classical two-phase commit (2PC) based replication mechanisms. We integrate the proposed replication schemes into Infinispan, a prominent open-source distributed in-memory cache, which represents the reference clustering solution for the well-known JBoss AS platform. Our performance evaluation highlights speed-ups of up to 40× when using the proposed algorithms with respect to the native Infinispan replication mechanism, which relies on classic 2PC-based replication.
Keywords :
cache storage; data integrity; distributed memory systems; information retrieval; operating systems (computers); public domain software; Inflnispan; JBoss AS platform; classic 1-copy serializability; classic 2PC-based replication; classical two-phase commit based replication; distributed deadlock; distributed in-memory cache; open-source distributed in-memory cache; reference clustering solution; replica consistency; replication degree; total order multicast; transactional support; weakly consistent transactional cache; Benchmark testing; Context; Distributed databases; Memory management; Protocols; System recovery; Throughput; Atomic Multicast; Distributed Memory; Partial Replication; Transactional Memory;
Conference_Titel :
Dependable Computing (PRDC), 2011 IEEE 17th Pacific Rim International Symposium on
Conference_Location :
Pasadena, CA
Print_ISBN :
978-1-4577-2005-5
Electronic_ISBN :
978-0-7695-4590-5
DOI :
10.1109/PRDC.2011.21