Title
Dedalus: datalog in time and space
Abstract
Recent research has explored using Datalog-based languages to express a distributed system as a set of logical invariants. Two properties of distributed systems proved difficult to model in Datalog. First, the state of any such system evolves with its execution. Second, deductions in these systems may be arbitrarily delayed, dropped, or reordered by the unreliable network links they must traverse. Previous efforts addressed the former by extending Datalog to include updates, key constraints, persistence and events, and the latter by assuming ordered and reliable delivery while ignoring delay. These details have a semantics outside Datalog, which increases the complexity of the language and its interpretation, and forces programmers to think operationally. We argue that the missing component from these previous languages is a notion of time. In this paper we present Dedalus, a foundation language for programming and reasoning about distributed systems. Dedalus reduces to a subset of Datalog with negation, aggregate functions, successor and choice, and adds an explicit notion of logical time to the language. We show that Dedalus provides a declarative foundation for the two signature features of distributed systems: mutable state, and asynchronous processing and communication. Given these two features, we address two important properties of programs in a domain-specific manner: a notion of safety appropriate to non-terminating computations, and stratified monotonic reasoning with negation over time. We also provide conservative syntactic checks for our temporal notions of safety and stratification. Our experience implementing full-featured systems in variants of Datalog suggests that Dedalus is well-suited to the specification of rich distributed services and protocols, and provides both cleaner semantics and richer tests of correctness.
Year
DOI
Venue
2010
10.1007/978-3-642-24206-9_16
Datalog
Keywords
Field
DocType
full-featured system,cleaner semantics,temporal notion,explicit notion,datalog-based language,logical time,declarative foundation,previous language,foundation language,present dedalus,distribution,networks,programming languages,data links,semantics
Asynchronous communication,Programming language,Negation,Computer science,Correctness,Theoretical computer science,Temporal logic,Logic programming,Datalog,Syntax,Semantics
Conference
Volume
ISSN
Citations 
6702
0302-9743
67
PageRank 
References 
Authors
2.34
30
6
Name
Order
Citations
PageRank
Peter Alvaro146328.96
William R. Marczak227412.55
Neil Conway345821.46
Joseph M. Hellerstein4140931651.14
David Maier556391666.90
Russell Sears6179985.12