Chasing the Optimum in Replicated In-memory Transactional Platforms via Protocol Adaptation
INESC-ID Lisboa/Instituto Superior T ́ecnico, Universidade de Lisboa email@example.com
Red Hat Inc. firstname.lastname@example.org
INESC-ID Lisboa/Instituto Superior T ́ecnico, Universidade de Lisboa email@example.com
INESC-ID Lisboa/Instituto Superior T ́ecnico, Universidade de Lisboa firstname.lastname@example.org
May 2014-Technical Report RT/20/2014
Replication plays an essential role for in-memory distributed transactional platforms, such as NoSQL data grids, given that it represents the primary mean to ensure data durability. Unfortunately, no single replication technique can ensure optimal performance across a wide range of workloads and system configurations. This paper tackles this problem by presenting MorphR, a framework that allows to automatically adapt the replication protocol of in-memory transactional platforms according to the current operational conditions. MorphR presents two key innovative aspects. On one hand, it allows to plug in, in a modular fashion, specialized algorithms to regulate the switching between arbitrary replication protocols. On the other hand, MorphR relies on state of the art machine learning techniques to autonomously determine the optimal replication in face of varying workloads. We integrated MorphR in a popular open-source in-memory NoSQL data grid, and evaluated it by means of an extensive experimental study. The results highlight that MorphR is accurate in identifying the optimal replication strategy in presence of complex, realistic workloads, and does so with minimal overhead.
DOWNLOAD REPORT (.pdf): TR_Morphr