arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.03506cs.DC
收藏

使用AEON编程可扩展的云服务

Programming Scalable Cloud Services with AEON

Bo Sang, Gustavo Petri, Masoud Saeida Ardekani, Srivatsan Ravi, Patrick Eugster

摘要:

设计低延迟的基于云的应用程序,以适应不可预测的工作负载并有效地利用现代云计算平台是很困难的。Actor模型是一种流行的范例,可用于开发分布式应用程序:Actor封装状态并通过发送事件相互通信。如果每个事件只访问单个参与者,则可以保证一致性,从而消除潜在的数据竞争和死锁。然而,为跨多个参与者的并发事件提供一致性并不简单。本文通过引入AEON来解决这个问题:一个提供以下属性的框架:(i)可编程性:程序员在推理多参与者事件导致的并发时,只需要推理顺序语义;(ii)可扩展性:AEON运行时协议保证多参与者事件的可串行化和无饥饿执行,同时最大化并行执行;(iii)弹性:AEON支持细粒度的弹性,使程序员能够透明地迁移单个参与者,而不会违反一致性或带来显着的性能开销。我们的实证结果表明,这是可能的,结合所有上述三个世界的最佳而不影响应用程序的性能。

英文摘要:

Designing low-latency cloud-based applications that are adaptable to unpredictable workloads and efficiently utilize modern cloud computing platforms is hard. The actor model is a popular paradigm that can be used to develop distributed applications: actors encapsulate state and communicate with each other by sending events. Consistency is guaranteed if each event only accesses a single actor, thus eliminating potential data races and deadlocks. However it is nontrivial to provide consistency for concurrent events spanning across multiple actors. This paper addresses this problem by introducing AEON: a framework that provides the following properties: (i) Programmability: programmers only need to reason about sequential semantics when reasoning about concurrency resulting from multi-actor events; (ii) Scalability: AEON runtime protocol guarantees serializable and starvation-free execution of multi-actor events, while maximizing parallel execution; (iii) Elasticity: AEON supports fine-grained elasticity enabling the programmer to transparently migrate individual actors without violating the consistency or entailing significant performance overheads. Our empirical results show that it is possible to combine the best of all the above three worlds without compromising on the application performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑