The Free Termination Property of Queries Over Time

📅 2025-01-31
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This paper addresses the “free termination” problem in distributed databases under coordination-free settings—i.e., how individual nodes can autonomously decide to terminate query execution based on query semantics, even without global synchronization and despite potential future arrivals of new data. Method: We introduce the first formal definition of free termination and propose a unified model grounded in semi-automata, integrating relational transformers and CRDTs as algebraic structures; we analyze free termination through the lens of complementary completeness relative to the CALM theorem. Contributions: (1) A decidable necessary and sufficient condition for free termination; (2) provably autonomous termination behavior—i.e., termination decisions are locally verifiable and independent of global state; (3) a theoretically rigorous yet engineering-practical modeling foundation and verification framework for coordination-free systems.

Technology Category

Application Category

📝 Abstract
Building on prior work on distributed databases and the CALM Theorem, we define and study the question of free termination: in the absence of distributed coordination, what query properties allow nodes in a distributed (database) system to unilaterally terminate execution even though they may receive additional data or messages in the future? This completeness question is complementary to the soundness questions studied in the CALM literature. We also develop a new model based on semiautomata that allows us to bridge from the relational transducer model of the CALM papers to algebraic models that are popular among software engineers (e.g. CRDTs) and of increasing interest to database theory for datalog extensions and incremental view maintenance.
Problem

Research questions and friction points this paper is trying to address.

Distributed Databases
Autonomous Shutdown
CALM Theorem
Innovation

Methods, ideas, or system contributions that make the work stand out.

Distributed Databases
Free Termination Problem
Semi-Automata Model
🔎 Similar Papers
No similar papers found.