Weaker Forms of Monotonicity for Declarative Networking: A More Fine-Grained Answer to the CALM-Conjecture

The CALM-conjecture, first stated by Hellerstein [2010] and proved in its revised form by Ameloot et al. [2013] within the framework of relational transducer networks, asserts that a query has a coordination-free execution strategy if and only if the query is monotone. Zinn et al. [2012] extended the framework of relational transducer networks to allow for specific data distribution strategies and showed that the nonmonotone win-move query is coordination-free for domain-guided data distributions. In this article, we extend the story by equating increasingly larger classes of coordination-free computations with increasingly weaker forms of monotonicity and present explicit Datalog variants that capture each of these classes. One such fragment is based on stratified Datalog where rules are required to be connected with the exception of the last stratum. In addition, we characterize coordination-freeness as those computations that do not require knowledge about all other nodes in the network, and therefore, can not globally coordinate. The results in this article can be interpreted as a more fine-grained answer to the CALM-conjecture.

[1]  Tomás Feder,et al.  Homomorphism closed vs. existential positive , 2003, 18th Annual IEEE Symposium of Logic in Computer Science, 2003. Proceedings..

[2]  Alin Deutsch,et al.  Verification of communicating data-driven web services , 2006, PODS '06.

[3]  Serge Abiteboul,et al.  Diagnosis of asynchronous discrete event systems: datalog to the rescue! , 2005, PODS.

[4]  Masatoshi Yoshikawa,et al.  ILOG: Declarative Creation and Manipulation of Object Identifiers , 1990, VLDB.

[5]  Luca Cabibbo,et al.  The Expressive Power of Stratified Logic Programs with Value Invention , 1998, Inf. Comput..

[6]  Bertram Ludäscher,et al.  Win-move is coordination-free (sometimes) , 2012, ICDT '12.

[7]  David Maier,et al.  Logic and lattices for distributed programming , 2012, SoCC '12.

[8]  Phokion G. Kolaitis,et al.  On the expressive power of datalog: tools and a case study , 1990, J. Comput. Syst. Sci..

[9]  Jianwen Su,et al.  Algebraic and Calculus Query Languages for Recursively Typed Complex Objects , 1993, J. Comput. Syst. Sci..

[10]  Fang Wang,et al.  Netlog, a Rule-Based Language for Distributed Programming , 2010, PADL.

[11]  Daniel Zinn Weak Forms of Monotonicity and Coordination-Freeness , 2012, ArXiv.

[12]  Oded Shmueli,et al.  Equivalence of DATALOG Queries is Undecidable , 1993, J. Log. Program..

[13]  Frank Neven,et al.  Weaker Forms of Monotonicity for Declarative Networking , 2014, ACM Trans. Database Syst..

[14]  Tom J. Ameloot Deciding Correctness with Fairness for Simple Transducer Networks , 2014, ICDT.

[15]  William W. Tait,et al.  A counterexample to a conjecture of Scott and Suppes , 1959, Journal of Symbolic Logic.

[16]  Stephan Kreutzer,et al.  On Datalog vs. LFP , 2008, ICALP.

[17]  Dan Suciu,et al.  Parallel evaluation of conjunctive queries , 2011, PODS.

[18]  Joseph M. Hellerstein,et al.  Consistency Analysis in Bloom: a CALM and Collected Approach , 2011, CIDR.

[19]  Jeffrey D. Ullman,et al.  Optimizing joins in a map-reduce environment , 2010, EDBT '10.

[20]  Anuj Dawar,et al.  Preservation Under Extensions on Well-Behaved Finite Structures , 2005, ICALP.

[21]  Jan Van den Bussche,et al.  On the CRON Conjecture , 2012, Datalog.

[22]  Ion Stoica,et al.  Declarative networking: language, execution and optimization , 2006, SIGMOD Conference.

[23]  Alin Deutsch,et al.  Specification and verification of data-driven Web applications , 2007, J. Comput. Syst. Sci..

[24]  Jeffrey D. Ullman,et al.  Map-reduce extensions and recursive queries , 2011, EDBT/ICDT '11.

[25]  David Maier,et al.  Dedalus: Datalog in Time and Space , 2010, Datalog.

[26]  Eric Rosen Finite model theory and finite variable logics , 1996 .

[27]  Frank Neven,et al.  Datalog Queries Distributing over Components , 2015, ICDT.

[28]  Serge Abiteboul,et al.  The Active XML project: an overview , 2008, The VLDB Journal.

[29]  Frank Neven,et al.  Optimal Broadcasting Strategies for Conjunctive Queries over Distributed Data , 2015, ICDT.

[30]  Jeffrey D. Ullman,et al.  Transitive closure and recursive Datalog implemented on clusters , 2012, EDBT '12.

[31]  Frank Neven,et al.  Relational transducers for declarative networking , 2013, J. ACM.

[32]  Serge Abiteboul,et al.  Relational transducers for electronic commerce , 1998, J. Comput. Syst. Sci..

[33]  Serge Abiteboul,et al.  Foundations of Databases , 1994 .

[34]  David Maier,et al.  Blazes: Coordination analysis for distributed programs , 2013, 2014 IEEE 30th International Conference on Data Engineering.

[35]  Jan Van den Bussche,et al.  Deciding eventual consistency for a simple class of relational transducer networks , 2012, ICDT '12.

[36]  Joseph M. Hellerstein,et al.  The declarative imperative: experiences and conjectures in distributed logic , 2010, SGMD.

[37]  Serge Abiteboul,et al.  A rule-based language for web data management , 2011, PODS.

[38]  Mihalis Yannakakis,et al.  On Datalog vs. Polynomial Time , 1995, J. Comput. Syst. Sci..

[39]  Kevin J. Compton,et al.  Some useful preservation theorems , 1983, Journal of Symbolic Logic.

[40]  Dan Suciu,et al.  Dynamically distributed query evaluation , 2001, PODS.