首页 > 最新文献

Found. Trends Program. Lang.最新文献

英文 中文
Principles of Eventual Consistency 最终一致性原则
Pub Date : 2014-10-09 DOI: 10.1561/2500000011
S. Burckhardt
In globally distributed systems, shared state is never perfect. When communication is neither fast nor reliable, we cannot achieve strong consistency, low latency, and availability at the same time. Unfortunately, abandoning strong consistency has wide ramifications. Eventual consistency, though attractive from a performance viewpoint, is challenging to understand and reason about, both for system architects and programmers. To provide robust abstractions, we need not just systems, but also principles: we need the ability to articulate what a consistency protocol is supposed to guarantee, and the ability to prove or refute such claims.In this tutorial, we carefully examine both the what and the how of consistency in distributed systems. First, we deconstruct consistency into individual guarantees relating the data type, the conflict resolution, and the ordering, and then reassemble them into a hierarchy of consistency models that starts with linearizability and gradually descends into sequential, causal, eventual, and quiescent consistency. Second, we present a collection of consistency protocols that illustrate common techniques, and include templates for implementations of arbitrary replicated data types that are fully available under partitions. Third, we demonstrate that our formalizations serve their purpose of enabling proofs and refutations, by proving both positive results (the correctness of the protocols) and a negative result (a version of the CAP theorem for sequential consistency).
在全局分布式系统中,共享状态从来不是完美的。当通信既不快速又不可靠时,我们无法同时实现强一致性、低延迟和可用性。不幸的是,放弃强一致性会产生广泛的后果。最终的一致性,虽然从性能的角度来看很有吸引力,但对于系统架构师和程序员来说,理解和推理都是具有挑战性的。为了提供健壮的抽象,我们不仅需要系统,还需要原则:我们需要能够清楚地说明一致性协议应该保证什么,以及证明或反驳这种声明的能力。在本教程中,我们将仔细研究分布式系统中的一致性是什么以及如何实现一致性。首先,我们将一致性分解为与数据类型、冲突解决和排序相关的单个保证,然后将它们重新组装到一致性模型的层次结构中,该层次结构从线性性开始,逐渐下降到顺序一致性、因果一致性、最终一致性和静态一致性。其次,我们提供了一组说明常见技术的一致性协议,并包括用于在分区下完全可用的任意复制数据类型的实现的模板。第三,我们通过证明肯定的结果(协议的正确性)和否定的结果(顺序一致性的CAP定理的一个版本)来证明我们的形式化服务于支持证明和反驳的目的。
{"title":"Principles of Eventual Consistency","authors":"S. Burckhardt","doi":"10.1561/2500000011","DOIUrl":"https://doi.org/10.1561/2500000011","url":null,"abstract":"In globally distributed systems, shared state is never perfect. When communication is neither fast nor reliable, we cannot achieve strong consistency, low latency, and availability at the same time. Unfortunately, abandoning strong consistency has wide ramifications. Eventual consistency, though attractive from a performance viewpoint, is challenging to understand and reason about, both for system architects and programmers. To provide robust abstractions, we need not just systems, but also principles: we need the ability to articulate what a consistency protocol is supposed to guarantee, and the ability to prove or refute such claims.In this tutorial, we carefully examine both the what and the how of consistency in distributed systems. First, we deconstruct consistency into individual guarantees relating the data type, the conflict resolution, and the ordering, and then reassemble them into a hierarchy of consistency models that starts with linearizability and gradually descends into sequential, causal, eventual, and quiescent consistency. Second, we present a collection of consistency protocols that illustrate common techniques, and include templates for implementations of arbitrary replicated data types that are fully available under partitions. Third, we demonstrate that our formalizations serve their purpose of enabling proofs and refutations, by proving both positive results (the correctness of the protocols) and a negative result (a version of the CAP theorem for sequential consistency).","PeriodicalId":376429,"journal":{"name":"Found. Trends Program. Lang.","volume":"3 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2014-10-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123956470","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 125
Static Analysis and Verification of Aerospace Software by Abstract Interpretation 基于抽象解释的航天软件静态分析与验证
Pub Date : 2010-04-20 DOI: 10.1561/2500000002
Julien Bertrane, P. Cousot, R. Cousot, Jérôme Feret, Laurent Mauborgne, A. Miné, Xavier Rival
We discuss the principles of static analysis by abstract interpretation and report on the automatic verification of the absence of runtime errors in large embedded aerospace software by static analysis based on abstract interpretation. The first industrial applications concerned synchronous control/command software in open loop. Recent advances consider imperfectly synchronous programs, parallel programs, and target code validation as well. Future research directions on abstract interpretation are also discussed in the context of aerospace software.
讨论了基于抽象解释的静态分析原理,并报道了基于抽象解释的静态分析对大型嵌入式航空航天软件运行时错误的自动验证。第一个工业应用涉及开环同步控制/命令软件。最近的进展考虑了不完全同步程序、并行程序和目标代码验证。最后讨论了在航空航天软件背景下抽象解释的未来研究方向。
{"title":"Static Analysis and Verification of Aerospace Software by Abstract Interpretation","authors":"Julien Bertrane, P. Cousot, R. Cousot, Jérôme Feret, Laurent Mauborgne, A. Miné, Xavier Rival","doi":"10.1561/2500000002","DOIUrl":"https://doi.org/10.1561/2500000002","url":null,"abstract":"We discuss the principles of static analysis by abstract interpretation and report on the automatic verification of the absence of runtime errors in large embedded aerospace software by static analysis based on abstract interpretation. The first industrial applications concerned synchronous control/command software in open loop. Recent advances consider imperfectly synchronous programs, parallel programs, and target code validation as well. Future research directions on abstract interpretation are also discussed in the context of aerospace software.","PeriodicalId":376429,"journal":{"name":"Found. Trends Program. Lang.","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2010-04-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131009103","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 83
Probabilistic Trace and Testing Semantics: The Importance of Being Coherent 概率跟踪和测试语义:一致性的重要性
Pub Date : 1900-01-01 DOI: 10.1561/2500000056
M. Bernardo
{"title":"Probabilistic Trace and Testing Semantics: The Importance of Being Coherent","authors":"M. Bernardo","doi":"10.1561/2500000056","DOIUrl":"https://doi.org/10.1561/2500000056","url":null,"abstract":"","PeriodicalId":376429,"journal":{"name":"Found. Trends Program. Lang.","volume":"23 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129301788","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
Shape Analysis 形状分析
Pub Date : 1900-01-01 DOI: 10.1561/2500000037
B. E. Chang, Cezara Dragoi, R. Manevich, N. Rinetzky, Xavier Rival
{"title":"Shape Analysis","authors":"B. E. Chang, Cezara Dragoi, R. Manevich, N. Rinetzky, Xavier Rival","doi":"10.1561/2500000037","DOIUrl":"https://doi.org/10.1561/2500000037","url":null,"abstract":"","PeriodicalId":376429,"journal":{"name":"Found. Trends Program. Lang.","volume":"36 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125876239","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
Neurosymbolic Programming Neurosymbolic编程
Pub Date : 1900-01-01 DOI: 10.1561/2500000049
Swarat Chaudhuri, Kevin Ellis, Oleksandr Polozov, Rishabh Singh, Armando Solar-Lezama, Yisong Yue
We survey recent work on neurosymbolic programming, an emerging area that bridges the areas of deep learning and program synthesis. Like in classic machine learning, the goal here is to learn functions from data. However, these functions are represented as programs that can use neural modules in addition to symbolic primitives and are induced using a combination of symbolic search and gradient-based optimization. Neurosymbolic programming can offer multiple advantages over end-to-end deep learning. Programs can sometimes naturally represent long-horizon, procedural tasks that are difficult to perform using deep networks. Neurosymbolic representations are also, commonly, easier to interpret and formally verify than neural networks. The restrictions of a programming language can serve as a form of regularization and lead to more generalizable and data-efficient Swarat Chaudhuri, Kevin Ellis, Oleksandr Polozov, Rishabh Singh, Armando SolarLezama and Yisong Yue (2021), “Neurosymbolic Programming”, Foundations and Trends® in Programming Languages: Vol. 7, No. 3, pp 158–243. DOI: 10.1561/2500000049. ©2021 S. Chaudhuri et al. The version of record is available at: http://dx.doi.org/10.1561/2500000049
我们调查了最近在神经符号编程方面的工作,这是一个新兴的领域,它连接了深度学习和程序合成领域。和经典的机器学习一样,这里的目标是从数据中学习函数。然而,这些函数被表示为除了符号原语之外还可以使用神经模块的程序,并且使用符号搜索和基于梯度的优化的组合来诱导。与端到端深度学习相比,神经符号编程可以提供多种优势。程序有时可以自然地代表长期的、程序性的任务,这些任务很难用深度网络来执行。通常,神经符号表征也比神经网络更容易解释和正式验证。Swarat Chaudhuri, Kevin Ellis, Oleksandr Polozov, Rishabh Singh, Armando SolarLezama和Yisong Yue(2021),“神经符号编程”,编程语言的基础和趋势®:第7卷,第3期,第155 - 243页。DOI: 10.1561 / 2500000049。©2021 S. Chaudhuri et al。记录的版本可在:http://dx.doi.org/10.1561/2500000049
{"title":"Neurosymbolic Programming","authors":"Swarat Chaudhuri, Kevin Ellis, Oleksandr Polozov, Rishabh Singh, Armando Solar-Lezama, Yisong Yue","doi":"10.1561/2500000049","DOIUrl":"https://doi.org/10.1561/2500000049","url":null,"abstract":"We survey recent work on neurosymbolic programming, an emerging area that bridges the areas of deep learning and program synthesis. Like in classic machine learning, the goal here is to learn functions from data. However, these functions are represented as programs that can use neural modules in addition to symbolic primitives and are induced using a combination of symbolic search and gradient-based optimization. Neurosymbolic programming can offer multiple advantages over end-to-end deep learning. Programs can sometimes naturally represent long-horizon, procedural tasks that are difficult to perform using deep networks. Neurosymbolic representations are also, commonly, easier to interpret and formally verify than neural networks. The restrictions of a programming language can serve as a form of regularization and lead to more generalizable and data-efficient Swarat Chaudhuri, Kevin Ellis, Oleksandr Polozov, Rishabh Singh, Armando SolarLezama and Yisong Yue (2021), “Neurosymbolic Programming”, Foundations and Trends® in Programming Languages: Vol. 7, No. 3, pp 158–243. DOI: 10.1561/2500000049. ©2021 S. Chaudhuri et al. The version of record is available at: http://dx.doi.org/10.1561/2500000049","PeriodicalId":376429,"journal":{"name":"Found. Trends Program. Lang.","volume":"249 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"134376366","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 36
期刊
Found. Trends Program. Lang.
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1