Computer Science > Distributed, Parallel, and Cluster Computing
[Submitted on 27 Nov 2012 (v1), revised 7 Dec 2012 (this version, v2), latest version 12 Oct 2013 (v5)]
Title:On Non-Interference of Transactions
View PDFAbstract:Transactional memory promises to make concurrent programming tractable and efficient by allowing the user to assemble sequences of actions in atomic transactions with all-or-nothing semantics. It is believed that, by its very virtue, transactional memory must ensure that all committed transactions constitute a serial execution respecting the real-time order. In contrast, aborted or incomplete transactions should not "take effect." But what does "not taking effect" mean exactly?
It seems natural to expect that aborted or incomplete transactions do not appear in the global serial execution, and, thus, no committed transaction can be affected by them. We introduce another, less obvious, feature of "not taking effect" called non-interference: aborted or incomplete transactions should not force any other transaction to abort. More precisely, by removing a subset of aborted or incomplete transactions from the history, we should not be able to turn an aborted transaction into a committed one. We consider the popular correctness criterion of opacity that requires all transactions (be they committed, aborted or incomplete) to witness the same global serial execution. We show that non-interference with respect to opacity is, in a strict sense, not implementable.
In contrast, when we only require local correctness, non-interference is implementable. Informally, a correctness criterion is local if it only requires that every transaction can be serialized along with (a subset of) the transactions committed before its last event (aborted or incomplete transactions ignored). We give a few examples of local correctness properties, including the recently proposed criterion of virtual world consistency, and present a simple though efficient implementation that satisfies non-interference and local opacity.
Submission history
From: Petr Kuznetsov [view email][v1] Tue, 27 Nov 2012 14:31:06 UTC (54 KB)
[v2] Fri, 7 Dec 2012 22:15:53 UTC (54 KB)
[v3] Fri, 11 Jan 2013 12:29:37 UTC (55 KB)
[v4] Mon, 27 May 2013 13:51:56 UTC (59 KB)
[v5] Sat, 12 Oct 2013 12:23:21 UTC (44 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.