计算机科学 > 程序设计语言
[提交于 2019年8月27日]
标题:TxForest: A DSL for Concurrent Filestores
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Many systems use ad hoc collections of files and directories to store persistent data. For consumers of this data, the process of properly parsing, using, and updating these filestores using conventional APIs is cumbersome and error-prone. Making matters worse, most filestores are too big to fit in memory, so applications must process the data incrementally while managing concurrent accesses by multiple users. This paper presents Transactional Forest (TxForest), which builds on earlier work on Forest to provide a simpler, more powerful API for managing filestores, including a mechanism for managing concurrent accesses using serializable transactions. Under the hood, TxForest implements an optimistic concurrency control scheme using Huet's zippers to track the data associated with filestores. We formalize TxForest in a core calculus, develop a proof of serializability, and describe our OCaml prototype, which we have used to build several practical applications.
提交历史
来自:Jonathan DiLorenzo[v1] 2019年8月27日 星期二 15:29:30 UTC