Towards Designing an Execution Control System with Metastability Resilience

Murat · 2026年8月2日

AI 摘要 AI 生成,可能有误

这篇文章讨论了一篇在 ICCCN'26 上发表的论文,该论文由作者与 Aleksey Charapko 及 MongoDB 的同事合著,主题是为数据库设计一种能够抵御亚稳态的执行控制系统(ECS),该系统采用基于票据的并发限制、优先级队列和负载削减,以在过载情况下保护对延迟敏感的短查询。借助 MESSI 离散事件模拟器,作者发现那些单独看来合理的动态策略——例如基于可膨胀获取率指标的探测票据,以及响应延迟信号的准入控制——可能以破坏性的方式相互作用,从而维持亚稳态故障;他们通过采用无法被博弈的信号(等待集占用率)、单一决策点,以及分层控制环路(其中外层防御的介入速度慢于内层的收敛速度)解决了这些问题。主要启示是:性能问题可能经由亚稳态演变为可用性问题,因此在部署前进行模拟至关重要,因为模拟可以低成本地暴露隐藏的反馈回路,否则这些问题只会在生产环境中被发现。

This week, I presented this paper at ICCCN'26. This is joint work with Aleksey Charapko (University of New Hampshire) and my MongoDB colleagues Matt Broadstone, Daniel Gomez Ferro, and Akshat Vig. The paper investigates how to build a metastability tolerant execution control system (ECS) for a database.

Why?

Modern databases are complex networked systems serving mixed workloads: short queries (that want an answer in milliseconds) sitting next to analytics jobs (that want the CPU for multiple seconds). The arrival rate of requests is effectively unbounded, but of course, the server's resources are not. And, unfortunately, elastic scaling does not save you here. Scaling takes minutes, whereas, overload takes seconds. Admission control tries to guard the front door (more on this later), but the component that mediates contention once requests reach the backend is the execution control system (ECS).

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Murat Demirbas

Meaningful Human-in-the-Loop Checking of GenAI Synthesis for Restricted Languages

AI 摘要The article reviews an ECOOP 2026 paper introducing PICK, a human-in-the-loop tool that resolves ambiguity in LLM-generated specifications for restricted languages (regexes, LTL, access-control policies) by deriving multiple candidate formulas, sampling concrete scenarios where the candidates disagree, and asking users to accept or reject them until only the correct candidate survives. Experiments showed PICK substantially improved accuracy over reading formulas directly (e.g., 60–72% versus 22% on regex tasks) and made users more likely to correctly reject all wrong candidates. The author also applies the same idea in reverse to build 'Do you Paxos?', an interactive tutor that teaches correct Paxos by quizzing users on behaviors distinguishing it from common misconceptions.

TLAPS-Bench: Formally Proving Correctness Of Real-World System Specifications With TLA+ Proof System

AI 摘要TLAPS-Bench is a benchmark of 265 proof targets drawn from 95 real-world TLA+ specifications (including etcd Raft, ZooKeeper, and MongoDB transactions), designed to measure how well AI agents can carry the burden of deductive correctness proofs using the TLA+ Proof System. Unlike existing verification benchmarks that provide scaffolding such as helper lemmas or invariants, it hands agents only the spec and target theorem—covering safety, liveness, and refinement properties—and its Tilapia harness supplies proof checking, model checking tools, and anti-cheating guards, notably using a 'falsify before you prove' recipe where TLC and Apalache quickly refute bad candidate invariants. On the 70 hardest targets, the best current model proved 44.3%, leaving substantial room for AI labs to improve agents' formal proof and autoformalization capabilities.

Writing as a thinking tool

AI 摘要The author argues that writing is fundamentally a tool for thinking, likening a human without writing to a finite automaton and one with writing to a Turing machine, and illustrates this with personal experiences from mind maps in school to paper reviews and blogging. They warn that delegating writing to LLMs outsources the very act of thinking, making personal writing a widening comparative advantage. The article closes with five practical rules: produce unrestrained first drafts, edit ruthlessly, keep prose simple and plain, write for yourself without expectations, and put writing on a regular schedule.

TLA-Verus: LLM agents prove temporal properties of TLA+ specs

AI 摘要This article reviews the TLA-Verus paper, which uses LLM agents in a prover-reviewer loop to translate TLA+ specs from GitHub into Verus and prove safety and liveness properties there. The author criticizes the paper for lacking any refinement proof linking the Verus spec back to the original TLA+ (and producing no executable Rust code at all), understating TLAPS's existing temporal proof capabilities, and presenting a skewed corpus and a benchmark filtered to tasks its own pipeline had already proven. Nonetheless, the author finds Verus itself and the paper's automated task generator genuinely useful contributions.

The Man from the Future: Why Johnny Can't Stop Abstracting

AI 摘要The article reviews Ananyo Bhattacharya's biography of John von Neumann, chronicling his early years in Budapest and his foundational contributions to an extraordinary range of fields, including set theory, quantum mechanics, game theory, economics, and computing. The author argues that von Neumann's real superpower was the 'art of abstraction'—reducing messy domains to their minimal objects and axioms, as seen in his rigorous Hilbert space formulation of quantum mechanics, his axiomatization of expected utility, and the stored-program computer architecture he deliberately released into the public domain. The piece also explores his upbringing, including his father's seminar-style dinners and multilingual education, as keys to understanding the 'Johnny phenomenon'.