设计一种实验性的云资源发放语言

Nan Wang, Z. Zhang, Xiaodong Duo, Yingying Ma, Gang Chen
{"title":"设计一种实验性的云资源发放语言","authors":"Nan Wang, Z. Zhang, Xiaodong Duo, Yingying Ma, Gang Chen","doi":"10.1117/12.2667227","DOIUrl":null,"url":null,"abstract":"As a cornerstone of cloud-native systems, Kubernetes uses YAML, a data description language, to configure resources. However, YAML does not meet the configuration requirements of complex scenarios and has three major problems. First, YAML has no type checking mechanism and therefore data type mismatches cannot be detected during compilation. Second, YAML does not have the ability to reuse data descriptions and there are duplicate code for largescale data. Third, YAML lacks a type merging algorithm that meets the needs of multi-team development in enterprises. This paper implements an experimental cloud resource provisioning language, Hermias, which is based on the functional programming language OCaml. Hermias is used to describe the resource configuration of cloud servers, which solves the above three problems in YAML. The novelty of this work is to propose a type merging algorithm that computes records with common labels by union types and subtyping.","PeriodicalId":128051,"journal":{"name":"Third International Seminar on Artificial Intelligence, Networking, and Information Technology","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-02-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"The design of an experimental cloud resource provisioning language\",\"authors\":\"Nan Wang, Z. Zhang, Xiaodong Duo, Yingying Ma, Gang Chen\",\"doi\":\"10.1117/12.2667227\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"As a cornerstone of cloud-native systems, Kubernetes uses YAML, a data description language, to configure resources. However, YAML does not meet the configuration requirements of complex scenarios and has three major problems. First, YAML has no type checking mechanism and therefore data type mismatches cannot be detected during compilation. Second, YAML does not have the ability to reuse data descriptions and there are duplicate code for largescale data. Third, YAML lacks a type merging algorithm that meets the needs of multi-team development in enterprises. This paper implements an experimental cloud resource provisioning language, Hermias, which is based on the functional programming language OCaml. Hermias is used to describe the resource configuration of cloud servers, which solves the above three problems in YAML. The novelty of this work is to propose a type merging algorithm that computes records with common labels by union types and subtyping.\",\"PeriodicalId\":128051,\"journal\":{\"name\":\"Third International Seminar on Artificial Intelligence, Networking, and Information Technology\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-02-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Third International Seminar on Artificial Intelligence, Networking, and Information Technology\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1117/12.2667227\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Third International Seminar on Artificial Intelligence, Networking, and Information Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.2667227","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

作为云原生系统的基石,Kubernetes使用YAML(一种数据描述语言)来配置资源。但是,YAML不满足复杂场景的配置需求,存在三个主要问题。首先,YAML没有类型检查机制,因此在编译期间无法检测到数据类型不匹配。其次,YAML不具备重用数据描述的能力,而且对于大规模数据存在重复的代码。第三,YAML缺乏满足企业多团队开发需要的类型合并算法。本文在函数式编程语言OCaml的基础上,实现了一种实验性的云资源发放语言——Hermias。使用hermitas描述云服务器的资源配置,解决了YAML中的上述三个问题。这项工作的新颖之处在于提出了一种类型合并算法,该算法通过联合类型和子类型计算具有共同标签的记录。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
The design of an experimental cloud resource provisioning language
As a cornerstone of cloud-native systems, Kubernetes uses YAML, a data description language, to configure resources. However, YAML does not meet the configuration requirements of complex scenarios and has three major problems. First, YAML has no type checking mechanism and therefore data type mismatches cannot be detected during compilation. Second, YAML does not have the ability to reuse data descriptions and there are duplicate code for largescale data. Third, YAML lacks a type merging algorithm that meets the needs of multi-team development in enterprises. This paper implements an experimental cloud resource provisioning language, Hermias, which is based on the functional programming language OCaml. Hermias is used to describe the resource configuration of cloud servers, which solves the above three problems in YAML. The novelty of this work is to propose a type merging algorithm that computes records with common labels by union types and subtyping.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信