云中的泛函:无服务器云原生应用的抽象架构
Functionals in the Clouds: An abstract architecture of serverless Cloud-Native Apps
AI总结:
本文将云原生应用建模为可动态重配置的有向多重图,并以泛函和高阶类型理论刻画无服务器微服务的组合与运行时重构。
摘要:
云原生应用 CNApp(作为一种分布式系统)是通过通信协议交互的独立组件(微服务)的集合。因此,本文提出将 CNApp 的抽象架构表示为可动态重配置的无环有向多重图,其中顶点是微服务,边是协议。此类重配置的通用机制显然对应于高阶函数(泛函)。这也意味着微服务的内部抽象架构是一组事件触发的无服务器函数(包括实现协议的函数),这些函数被组合成依赖于事件的数据流图,并在运行时动态重配置。同样,此类组合与重配置的通用机制对应于泛函以及类似 Coq(https://coq.inria.fr/about-coq)的高阶类型理论。我们的贡献严格属于理论层面,并依赖于与泛函和关系演算密切相关的 CNApp 抽象架构。所提出的理论方法尝试实现 John Backus 于1978年提出的函数级编程原始思想;这一思想仍有待实现为一种非冯·诺依曼编程语言。
英文摘要:
Cloud Native Application CNApp (as a distributed system) is a collection of independent components (micro-services) interacting via communication protocols. This gives rise to present an abstract architecture of CNApp as dynamically re-configurable acyclic directed multi graph where vertices are microservices, and edges are the protocols. Generic mechanisms for such reconfigurations evidently correspond to higher-level functions (functionals). This implies also internal abstract architecture of microservice as a collection of event-triggered serverless functions (including functions implementing the protocols) that are composed into event-dependent data-flow graphs, and dynamically reconfigured at the runtime. Again, generic mechanisms for such compositions and reconfigurations correspond to functionals and higher order type theory like Coq https://coq.inria.fr/about-coq. Our contribution is strictly theoretical and relies on the abstract architecture of CNApp that is closely related to the calculus of functionals and relations. The proposed theoretical approach is an attempt to implement the original idea of programming at the function level postulated by John Backus 1978 \cite{Backus}; the idea that is still waiting to be implemented as a non-von Neumann programming language.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。