Formal Methods & AI for Reliable Databases • Anatoliy Bilenko & AlbertoCarretero • Bug Bash EU 2026

Formal Methods & AI for Reliable Databases • Anatoliy Bilenko & AlbertoCarretero • Bug Bash EU 2026

🎙 Anatoliy Bilenko & Alberto Carretero 👥 1.1M 📅 October 23, 2026 ⏱ 34 min 👁 2 📄 expert opinion 🧭 2026-10-23
Available in: English (current) Français

Keywords

TLA+state machinesmodel checkingAntithesisDqlite

Summary

This talk presents a workflow used at Canonical for designing reliable distributed database protocols, particularly for Dqlite. The speakers, Anatoliy Bilenko and Alberto Carretero, describe how they combine executable state-machine designs, formal methods, AI-assisted development, observability, and testing tools like Antithesis. They start with problem statements about handling failures and interleavings in distributed systems. They introduce state machines as a foundational language, then move to TLA+ specifications to express protocol behavior and properties. The TLC model checker is used to explore state spaces and generate traces, which feed into model-based testing. They also discuss reconstructing global histories from logs to check distributed properties post-mortem. A significant portion addresses limitations encountered: coverage in state space, knowing when to stop checking, and biases in exploration. Solutions include defining constraints, interesting predicates, starting points, and guiding the model checker with strategies or fuzzing. The talk emphasizes moving from a model to evidence from real-system executions, treating correctness as a continuous engineering practice.

159 words

Critical Evaluation

Value of the Information & Strength of the Argument

The value of the information is high for practitioners dealing with distributed systems and formal verification. The speakers provide a concrete, coherent methodology that integrates several well-known tools into a single pipeline. They share practical lessons learned, such as the challenge of coverage in model checking and the need to go beyond simple line coverage. The argumentation is solid, grounded in their experience at Canonical, and they acknowledge limitations honestly. The talk is not a rigorous academic study but a valuable industrial perspective, offering actionable insights for engineers.

Scientific Rigor, Source Quality, Title Accuracy

The scientific rigor is moderate: the talk references established tools (TLA+, TLC, Antithesis, Jepsen) and methodologies, but it does not cite external papers or provide quantitative results. The sources are primarily the speakers’ own experience and the tool documentation. The title accurately describes the content, as the talk indeed combines formal methods with AI (though AI is mentioned more as a future direction) and simulation/testing. The quality of the presentation is high, with clear explanations and a logical flow. Overall, the talk is well-structured and trustworthy, though it would benefit from more concrete evidence of effectiveness.

199 words

Title / Content Match

The title accurately reflects the content, which discusses combining formal methods and AI with simulation/testing for database reliability.

Quality & Reliability

8/10

The talk provides a detailed, practical overview of formal methods and testing for distributed databases, grounded in real-world experience at Canonical. The speakers are engineers with relevant expertise, and the methods described are well-established. However, the presentation is limited to one organization's workflow and does not provide quantitative evidence of effectiveness.

Key Moments

Cited Sources

  • Bug Bash EU 2026 — Event page for the talk recording.
  • Anatoliy Bilenko LinkedIn — Speaker profile.
  • Alberto Carretero LinkedIn — Speaker profile.
  • GOTO Conferences — Conference organiser and event information.
  • GOTO Bluesky — Social media profile for GOTO.

External References

Contribution & Novelties

The talk contributes a practical, integrated workflow that combines formal methods (TLA+, TLC) with AI-assisted development and modern testing tools (Antithesis) to ensure correctness in a distributed database. The emphasis on reconstructing global traces from real systems and using them for property checking is a distinctive approach. The discussion of limitations and workarounds for coverage in model checking is valuable for practitioners.

Pour aller plus loin :

  • TLA+ — Formal specification language used for describing and verifying concurrent systems.
  • Model checking — Automatic verification technique for finite-state systems.
  • Distributed computing — Foundational concepts for understanding distributed algorithm design.
  • Jepsen — Framework for fault injection and consistency testing (mentioned in the talk).

111 words

Radar Profile

The radar shows a balanced profile with high scores in information quantity and quality, moderate technical level, and high reliability. The talk excels in providing detailed, credible content, though it targets an audience already familiar with distributed systems.

Reliability 8/10