Nan Wang, Z. Zhang, Xiaodong Duo, Yingying Ma, Gang Chen
{"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}
引用次数: 0
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.