WO2023019712A1 - Zlib compression algorithm-based cloud computing resource manager communication delay optimization method - Google Patents

Zlib compression algorithm-based cloud computing resource manager communication delay optimization method Download PDF

Info

Publication number
WO2023019712A1
WO2023019712A1 PCT/CN2021/124403 CN2021124403W WO2023019712A1 WO 2023019712 A1 WO2023019712 A1 WO 2023019712A1 CN 2021124403 W CN2021124403 W CN 2021124403W WO 2023019712 A1 WO2023019712 A1 WO 2023019712A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
communication delay
master node
cloud computing
zlib
Prior art date
Application number
PCT/CN2021/124403
Other languages
French (fr)
Chinese (zh)
Inventor
黄世鑫
陈超
喻之斌
王峥
杨永魁
Original Assignee
中国科学院深圳先进技术研究院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国科学院深圳先进技术研究院 filed Critical 中国科学院深圳先进技术研究院
Publication of WO2023019712A1 publication Critical patent/WO2023019712A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Definitions

  • the present invention relates to the technical field of communication, and more specifically, relates to a communication delay optimization method of a cloud computing resource manager based on a Zlib compression algorithm.
  • Apache Mesos is a cloud computing resource manager whose main goal is to help developers manage fine-grained cluster resource scheduling and allocation of different frameworks.
  • Apache Mesos is a distributed cluster resource management framework that abstracts computing resources such as CPU, memory, network bandwidth, and even hardware storage into a centralized resource pool, and then provides APIs for different computing frameworks (such as spark, hadoop, and MPI).
  • Apache Mesos supports fine-grained resource sharing across applications. Therefore, Mesos can significantly improve cluster resource utilization, increase CPU utilization, and reduce memory and I/O overhead.
  • Mesos has excellent scalability and can achieve resource isolation.
  • Apache Mesos When Apache Mesos performs network communication between the master node and the slave node, its communication delay is affected by many factors, such as scheduling algorithm strategy, underlying API for communication, and hardware resource bandwidth. In the scenario where a large number (such as 10,000) slave nodes send messages to the master node at the same time, high communication delays will occur. This seriously affects the performance of the master node in Mesos, and more seriously, due to the limitation of network bandwidth and disk resources, this large-scale traffic transmission may cause the master node to fail.
  • the underlying communication of Mesos uses the Libprocess communication protocol that supports Protobuf. Although Libprocess is an efficient message passing programming model, in this high-traffic message transmission scenario, the communication delay is still high and cannot meet the needs of developers.
  • the object of the present invention is to overcome above-mentioned defective of prior art, provide a kind of cloud computing resource manager communication delay optimization method based on Zlib compression algorithm, this cloud computing manager is used for managing the distributed network that comprises master node and multiple corresponding slave nodes Computing framework, the method includes the following steps: for the message to be sent, the slave node serializes the message using the protocol data exchange format tool library Protobuf and transmits it to the master node after compressing it using the Zlib algorithm at the network layer; the master node compresses the received message , decompress according to the length identifier of the compressed message.
  • the present invention has the advantage that for scenarios with different message sizes and different heartbeat time intervals, the Zlib algorithm is used to compress messages, and the communication delay optimization on the network level of the cloud computing resource manager is realized. Especially for the special scenario of concurrent transmission of high-traffic messages, effective delay optimization has been carried out at the network communication level.
  • Fig. 1 is the flow chart of the cloud computing resource manager communication delay optimization method based on Zlib compression algorithm according to an embodiment of the present invention
  • Fig. 2 is after using Zlib compression algorithm according to an embodiment of the present invention, the schematic diagram of the time that slave node and master node compress a message;
  • Fig. 3 is an effect diagram of communication delay optimization according to an embodiment of the present invention.
  • Fig. 4 is an effect diagram of an optimized ratio according to an embodiment of the present invention.
  • the Zlib-based communication delay optimization method provided by the present invention can be used for cloud computing resource managers, including Mesos-based frameworks, YARN frameworks, K8s frameworks or other types of cloud computing frameworks. These frameworks usually adopt a distributed architecture, including master nodes (master) and multiple corresponding slave nodes (slave). For clarity, the following uses Mesos as an example to illustrate and verify by building a simulation environment.
  • the provided method for optimizing the communication delay of the cloud computing resource manager based on the Zlib compression algorithm includes the following steps.
  • Step S110 constructing a high-traffic message concurrent delivery scenario between the slave node and the master node.
  • Step S120 acquiring the communication delay in the scenario of concurrent delivery of high-traffic messages and analyzing the influencing factors.
  • the total communication delay when 10,000 slave nodes on Mesos send messages to the master at the same time is collected.
  • the total communication time is preset to 20s.
  • the communication delay is defined as follows: within each heartbeat time interval, from the time the master node receives the first message sent by the slave node to the time the master node finishes processing the last message sent by the slave node, the time difference in between is The communication delay of the round heartbeat time interval, by accumulating the delay of each round of heartbeat time interval, the final total communication delay can be obtained.
  • the Log(INFO) statement is used to print out the time stamp, the heartbeat count, the slave process ID and the message ID, and these four attributes can uniquely determine a message.
  • the difference between the minimum time stamp and the maximum time stamp in each round of heartbeat time interval is the communication delay of each round of heartbeat time interval.
  • the total communication delay in this scenario can be calculated by accumulating the communication delay of each heartbeat interval.
  • Step S130 improving the message delivery mechanism of the network layer, so that the message to be sent is compressed at the slave node, and the message is decompressed at the master node.
  • the compression function provided by the Zlib.h library is used for message compression. For example, by changing the data type defined by Protobuf and the API provided by Zlib, the message compression of the slave node before message delivery and the message decompression of the master node are performed, and then the communication delay after using the Zlib compression algorithm and the default communication delay are compared , to calculate its optimization rate.
  • Protobuf adopts the serialization method of binary bytes. Because the Zlib compression algorithm compresses binary data. At the same time, a field of type uint64 is added to the message to store the length of the message compressed by the slave process using the Zlib algorithm. Since the master process needs to know the length of the compressed message when decompressing, compared to the length of the compressed message predicted by the master node, it is decompressed based on the length of the compressed message clearly indicated to improve the decompression efficiency and success rate of decompression. Finally, the compression function compress() and decompression function uncompress() defined in the zlib.h library are used to compress 10,000 messages in the slave process and decompress 10,000 messages in the master process before transmitting the messages.
  • the message compression mechanism it is judged whether to trigger the message compression mechanism according to one or more of the number of messages to be sent by the slave node, the message length and the heartbeat time interval. For example, when the number of messages to be sent by the slave node is greater than a predetermined threshold, or/and the message size is greater than a predetermined threshold, the message compression mechanism is started.
  • Figure 2 shows the time it takes for the slave node to compress a message and the time it takes for the master node to decompress a message after using the Zlib compression algorithm, where the horizontal axis represents the message size (KB). It can be seen from Figure 2 that as the message size increases, the corresponding compression time and decompression time both increase. But when the message size is 100KB, the maximum compression time is only 4.4ms, and the maximum decompression time is only 1.5ms, such a short time overhead is almost negligible.
  • the vertical axis of Fig. 3 represents the time saved by optimization (that is, the communication delay before optimization minus the communication delay after optimization), and the horizontal axis represents the heartbeat time interval (s). It can be clearly seen from Figure 3 that the communication time is saved as the heartbeat time interval decreases. In the present invention, when the message size is 100KB and the heartbeat time interval is 2s, the time saving for communication delay reaches the maximum optimal value of 54.6 seconds.
  • the vertical axis of Figure 4 represents the optimization ratio (the communication delay before optimization minus the communication delay after optimization, and finally divided by the communication delay before optimization, the larger the value, the better the optimization effect, and the theoretical maximum value is 1), and the horizontal axis
  • the axis represents the heartbeat time interval (s).
  • the existing optimization algorithm does not involve the technical problem of tuning the underlying communication protocol of Mesos.
  • the present invention uses the Zlib compression algorithm to compress the transmitted data without using complex scheduling algorithms or resource allocation algorithms.
  • the message is compressed and decompressed after receiving the message, which realizes effective communication delay optimization during high-traffic concurrent message delivery under limited network bandwidth.
  • Experimental results show that the present invention realizes the communication delay optimization of Mesos, and the optimization performance is significantly better than that of the prior art.
  • the highest optimization rate reaches 56.34%.
  • the present invention can be a system, method and/or computer program product.
  • a computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present invention.
  • a computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device.
  • a computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Computer-readable storage media include: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanically encoded device, such as a printer with instructions stored thereon A hole card or a raised structure in a groove, and any suitable combination of the above.
  • RAM random access memory
  • ROM read-only memory
  • EPROM erasable programmable read-only memory
  • flash memory static random access memory
  • SRAM static random access memory
  • CD-ROM compact disc read only memory
  • DVD digital versatile disc
  • memory stick floppy disk
  • mechanically encoded device such as a printer with instructions stored thereon
  • a hole card or a raised structure in a groove and any suitable combination of the above.
  • computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
  • Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
  • Computer program instructions for carrying out operations of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or Source or object code written in any combination, including object-oriented programming languages—such as Smalltalk, C++, Python, etc., and conventional procedural programming languages—such as the “C” language or similar programming languages.
  • Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect).
  • LAN local area network
  • WAN wide area network
  • an electronic circuit such as a programmable logic circuit, field programmable gate array (FPGA), or programmable logic array (PLA)
  • FPGA field programmable gate array
  • PDA programmable logic array
  • These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram.
  • These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
  • each block in a flowchart or block diagram may represent a module, a portion of a program segment, or an instruction that includes one or more Executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by means of hardware, implementation by means of software, and implementation by a combination of software and hardware are all equivalent.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed is a Zlib compression algorithm-based cloud computing resource manager communication delay optimization method. A cloud computing manager is used for managing a distributed computing framework comprising a master node and a plurality of corresponding slave nodes. The method comprises: the slave nodes serialize, by using a protocol data interchange format tool library Protobuf, a message to be sent, compress the serialized message at a network layer by using a Zlib algorithm and then pass the compressed message to the master node; and the master node decompresses the received message according to a length identifier of the compressed message. The present invention realizes effective communication delay optimization during high-traffic concurrent message passing under a limited network bandwidth.

Description

基于Zlib压缩算法的云计算资源管理器通信延迟优化方法Communication Delay Optimization Method for Cloud Computing Resource Manager Based on Zlib Compression Algorithm 技术领域technical field
本发明涉及通信技术领域,更具体地,涉及一种基于Zlib压缩算法的云计算资源管理器通信延迟优化方法。The present invention relates to the technical field of communication, and more specifically, relates to a communication delay optimization method of a cloud computing resource manager based on a Zlib compression algorithm.
背景技术Background technique
近年来,云计算技术得到了快速发展。从最早的物理机器到虚拟化时代,再到最新的容器化和云原生技术,越来越多的公司使用大规模的云计算系统来部署商业化应用,这带来了巨大的商业价值。以Apache Mesos为例,它是一种云计算资源管理器,主要目标是帮助开发者管理不同框架的细粒度的集群资源调度以及分配。Apache Mesos是一个分布式集群资源管理框架,它将CPU、内存、网络带宽甚至硬件存储等计算资源抽象为一个集中的资源池,然后为不同的计算框架(例如spark、hadoop和MPI)提供API,并且Apache Mesos支持跨应用程序的细粒度资源共享。因此,Mesos可以显著提高集群资源利用率,增加CPU利用率,并减少内存和I/O的开销。此外Mesos具有极好的可扩展性,能够实现资源隔离。In recent years, cloud computing technology has developed rapidly. From the earliest physical machines to the virtualization era, to the latest containerization and cloud-native technologies, more and more companies use large-scale cloud computing systems to deploy commercial applications, which brings huge business value. Taking Apache Mesos as an example, it is a cloud computing resource manager whose main goal is to help developers manage fine-grained cluster resource scheduling and allocation of different frameworks. Apache Mesos is a distributed cluster resource management framework that abstracts computing resources such as CPU, memory, network bandwidth, and even hardware storage into a centralized resource pool, and then provides APIs for different computing frameworks (such as spark, hadoop, and MPI). And Apache Mesos supports fine-grained resource sharing across applications. Therefore, Mesos can significantly improve cluster resource utilization, increase CPU utilization, and reduce memory and I/O overhead. In addition, Mesos has excellent scalability and can achieve resource isolation.
Apache Mesos在进行master节点与slave节点的网络通信时,其通信延迟受诸多因素的影响,例如调度算法策略,通信的底层API以及硬件资源带宽等。在大量(如10000个)slave节点同时向master节点发送消息的场景下,会出现很高的通信延迟。这严重影响Mesos中master节点的性能,更严重的是由于网络带宽和磁盘资源的限制,这种大规模的流量传输可能会导致master节点失败。Mesos的底层通信采用了支持Protobuf的Libprocess通信协议,尽管Libprocess是一个高效的消息传递编程模型,但在这种高流量的消息传输场景下,通信延迟依旧很高,无法满足开发者的需求。When Apache Mesos performs network communication between the master node and the slave node, its communication delay is affected by many factors, such as scheduling algorithm strategy, underlying API for communication, and hardware resource bandwidth. In the scenario where a large number (such as 10,000) slave nodes send messages to the master node at the same time, high communication delays will occur. This seriously affects the performance of the master node in Mesos, and more seriously, due to the limitation of network bandwidth and disk resources, this large-scale traffic transmission may cause the master node to fail. The underlying communication of Mesos uses the Libprocess communication protocol that supports Protobuf. Although Libprocess is an efficient message passing programming model, in this high-traffic message transmission scenario, the communication delay is still high and cannot meet the needs of developers.
研究表明,Mesos主要关注计算资源和存储资源(CPU和内存),而忽 略了网络管理,但实际上有效的网络资源管理是优化性能的关键。现有方法着重于通过设计资源分配算法或者调度算法为作业提供更合适的资源或者进行更优的资源分配,而且这些算法通常过于复杂,同时也只是提高了CPU和内存的利用率,很少考虑网络层面的通信优化,然而仅通过设计新的资源调度以及分配算法,对Mesos集群的CPU以及内存利用率进行优化是有所欠缺的,可能导致Mesos性能瓶颈。Studies have shown that Mesos mainly focuses on computing resources and storage resources (CPU and memory), while ignoring network management, but in fact effective network resource management is the key to optimizing performance. Existing methods focus on providing more appropriate resources or better resource allocation for jobs by designing resource allocation algorithms or scheduling algorithms, and these algorithms are usually too complex, and only increase the utilization of CPU and memory, and rarely consider Communication optimization at the network level, however, is insufficient to optimize the CPU and memory utilization of the Mesos cluster only by designing new resource scheduling and allocation algorithms, which may lead to Mesos performance bottlenecks.
发明内容Contents of the invention
本发明的目的是克服上述现有技术的缺陷,提供一种基于Zlib压缩算法的云计算资源管理器通信延迟优化方法,该云计算管理器用于管理包含主节点和多个对应从节点的分布式计算框架,该方法包括以下步骤:对于待发送的消息,从节点采用协议数据交换格式工具库Protobuf进行序列化并在网络层使用Zlib算法进行压缩后传递给主节点;主节点对接收到的消息,根据压缩消息的长度标识进行解压缩。The object of the present invention is to overcome above-mentioned defective of prior art, provide a kind of cloud computing resource manager communication delay optimization method based on Zlib compression algorithm, this cloud computing manager is used for managing the distributed network that comprises master node and multiple corresponding slave nodes Computing framework, the method includes the following steps: for the message to be sent, the slave node serializes the message using the protocol data exchange format tool library Protobuf and transmits it to the master node after compressing it using the Zlib algorithm at the network layer; the master node compresses the received message , decompress according to the length identifier of the compressed message.
与现有技术相比,本发明的优点在于,针对不同的消息大小以及不同心跳时间间隔的场景,使用了Zlib算法进行消息的压缩,实现了云计算资源管理器网络层面上的通信延迟优化,特别是针对高流量消息并发传递的特殊场景,在网络通信层面进行了有效的延迟优化。Compared with the prior art, the present invention has the advantage that for scenarios with different message sizes and different heartbeat time intervals, the Zlib algorithm is used to compress messages, and the communication delay optimization on the network level of the cloud computing resource manager is realized. Especially for the special scenario of concurrent transmission of high-traffic messages, effective delay optimization has been carried out at the network communication level.
通过以下参照附图对本发明的示例性实施例的详细描述,本发明的其它特征及其优点将会变得清楚。Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings.
附图说明Description of drawings
被结合在说明书中并构成说明书的一部分的附图示出了本发明的实施例,并且连同其说明一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention.
图1是根据本发明一个实施例的基于Zlib压缩算法的云计算资源管理器通信延迟优化方法的流程图;Fig. 1 is the flow chart of the cloud computing resource manager communication delay optimization method based on Zlib compression algorithm according to an embodiment of the present invention;
图2是根据本发明一个实施例的使用Zlib压缩算法后,slave节点和master节点压缩一条消息所花费的时间示意图;Fig. 2 is after using Zlib compression algorithm according to an embodiment of the present invention, the schematic diagram of the time that slave node and master node compress a message;
图3是根据本发明一个实施例的通信延迟优化效果图;Fig. 3 is an effect diagram of communication delay optimization according to an embodiment of the present invention;
图4是根据本发明一个实施例的优化比率的效果图。Fig. 4 is an effect diagram of an optimized ratio according to an embodiment of the present invention.
具体实施方式Detailed ways
现在将参照附图来详细描述本发明的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本发明的范围。Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangements of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本发明及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and in no way taken as limiting the invention, its application or uses.
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the description.
在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。In all examples shown and discussed herein, any specific values should be construed as exemplary only, and not as limitations. Therefore, other instances of the exemplary embodiment may have different values.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like numerals and letters denote like items in the following figures, therefore, once an item is defined in one figure, it does not require further discussion in subsequent figures.
本发明提供的基于Zlib的通信延迟优化方法,可用于云计算资源管理器,包括基于Mesos的框架、YARN框架、K8s框架或其他类型的云计算框架,这些框架通常采用分布式架构,包含主节点(master)和多个对应的从节点(slave)。为清楚起见,以下以Mesos为例通过构建模拟环境进行说明和验证。The Zlib-based communication delay optimization method provided by the present invention can be used for cloud computing resource managers, including Mesos-based frameworks, YARN frameworks, K8s frameworks or other types of cloud computing frameworks. These frameworks usually adopt a distributed architecture, including master nodes (master) and multiple corresponding slave nodes (slave). For clarity, the following uses Mesos as an example to illustrate and verify by building a simulation environment.
参见图1所示,所提供的基于Zlib压缩算法的云计算资源管理器通信延迟优化方法包括以下步骤。Referring to Fig. 1, the provided method for optimizing the communication delay of the cloud computing resource manager based on the Zlib compression algorithm includes the following steps.
步骤S110,构建slave节点和master节点之间的高流量消息并发传递场景。Step S110, constructing a high-traffic message concurrent delivery scenario between the slave node and the master node.
例如,在实验环境中,使用两台物理服务器来模拟10000个slave节点同时向Mesos节点发送消息的场景,其中一台性能较好的服务器充当master节点,另一台充当slave节点,由于硬件资源的限制,在slave节点上启动100个slave进程,并且设置每个slave进程发送100条消息。由于 每个slave进程可能不是同时启动成功的,所以发送消息的时刻很有可能不同。因此设置定时器代码,以确保所有slave进程尽可能在同一时刻发送100条消息。通过这种方式,能够模拟出一个Mesos上高流量消息并发传递的场景,即10000个slave节点同时向Master发送消息的通信场景。For example, in the experimental environment, use two physical servers to simulate the scenario where 10,000 slave nodes send messages to Mesos nodes at the same time, one of the servers with better performance acts as the master node, and the other acts as the slave node. Limit, start 100 slave processes on the slave node, and set each slave process to send 100 messages. Since each slave process may not start successfully at the same time, the timing of sending messages is likely to be different. So set the timer code to ensure that all slave processes send 100 messages at the same time as much as possible. In this way, a scenario of concurrent delivery of high-traffic messages on Mesos can be simulated, that is, a communication scenario in which 10,000 slave nodes send messages to the Master at the same time.
步骤S120,获取高流量消息并发传递场景下的通信延迟并分析影响因素。Step S120, acquiring the communication delay in the scenario of concurrent delivery of high-traffic messages and analyzing the influencing factors.
为了解影响通信延迟的因素,收集Mesos上10000个slave节点同时向master发送消息时候的总通信延迟。例如,将总通信时间预先设定为20s。按照如下的方式定义通信延迟:在每轮心跳时间间隔内,从master节点收到slave节点发送的第一条消息开始,到master节点处理完slave节点发送的最后一条消息结束,中间的时间差就是每轮心跳时间间隔的通信延迟,通过累加每轮心跳时间间隔的延迟,即可得到最终的通信总延迟。在一个实施例中,通过Log(INFO)语句打印出时间戳,心跳计数,slave进程ID和消息ID,这四个属性可以唯一确定一条消息。然后,从日志中将重要的信息导出,并通过python进行处理,每轮心跳时间间隔内的最小时间戳与最大时间戳之差,即为每轮心跳时间间隔的通信延迟。将每个心跳间隔的通信延迟进行累加,即可以计算出此场景下的通信总延迟。经分析,在高流量消息并发传递场景,影响Mesos通信延迟的两个重要因素是心跳时间间隔以及消息大小。In order to understand the factors that affect the communication delay, the total communication delay when 10,000 slave nodes on Mesos send messages to the master at the same time is collected. For example, the total communication time is preset to 20s. The communication delay is defined as follows: within each heartbeat time interval, from the time the master node receives the first message sent by the slave node to the time the master node finishes processing the last message sent by the slave node, the time difference in between is The communication delay of the round heartbeat time interval, by accumulating the delay of each round of heartbeat time interval, the final total communication delay can be obtained. In one embodiment, the Log(INFO) statement is used to print out the time stamp, the heartbeat count, the slave process ID and the message ID, and these four attributes can uniquely determine a message. Then, export important information from the log and process it through python. The difference between the minimum time stamp and the maximum time stamp in each round of heartbeat time interval is the communication delay of each round of heartbeat time interval. The total communication delay in this scenario can be calculated by accumulating the communication delay of each heartbeat interval. After analysis, in the scenario of high-traffic message concurrent delivery, two important factors affecting Mesos communication delay are heartbeat interval and message size.
步骤S130,改进网络层的消息传递机制,以在slave节点对待发送消息进行压缩,在master节点进行消息解压缩。Step S130, improving the message delivery mechanism of the network layer, so that the message to be sent is compressed at the slave node, and the message is decompressed at the master node.
在一个实施例中,采用Zlib.h库提供的压缩函数进行消息压缩。例如,通过更改Protobuf定义的数据类型,以及Zlib提供的API,来进行传递消息之前的slave节点的消息压缩以及master节点的消息解压缩,然后对比使用Zlib压缩算法后的通信延迟以及默认的通信延迟,计算其优化率。In one embodiment, the compression function provided by the Zlib.h library is used for message compression. For example, by changing the data type defined by Protobuf and the API provided by Zlib, the message compression of the slave node before message delivery and the message decompression of the master node are performed, and then the communication delay after using the Zlib compression algorithm and the default communication delay are compared , to calculate its optimization rate.
具体地,首先更改Protobuf的string(字符串)类型为bytes(字节)类型,Protobuf采用二进制字节的序列化方式。因为Zlib压缩算法压缩后得到的是二进制类型数据。同时在消息中添加uint64类型的字段来存储slave进程使用Zlib算法压缩后的消息的长度。由于master进程解压缩时需 要知道已压缩的消息长度,相对于由master节点预测压缩后的消息长度,基于明确指示的压缩后消息的长度进行解压缩,提高了解压缩效率和解压缩的成功率。最后,通过调用zlib.h库中定义的压缩函数compress()和解压缩函数uncompress()来进行传输消息前slave进程10000条消息的压缩以及master进程10000条消息的解压缩。Specifically, first change the string (character string) type of Protobuf to bytes (bytes) type, and Protobuf adopts the serialization method of binary bytes. Because the Zlib compression algorithm compresses binary data. At the same time, a field of type uint64 is added to the message to store the length of the message compressed by the slave process using the Zlib algorithm. Since the master process needs to know the length of the compressed message when decompressing, compared to the length of the compressed message predicted by the master node, it is decompressed based on the length of the compressed message clearly indicated to improve the decompression efficiency and success rate of decompression. Finally, the compression function compress() and decompression function uncompress() defined in the zlib.h library are used to compress 10,000 messages in the slave process and decompress 10,000 messages in the master process before transmitting the messages.
为提升消息压缩和解压缩的效果,在一个优选实施例中,根据slave节点待发送消息数量、消息长度和心跳时间间隔中的一项或多项判断是否触发消息压缩机制。例如,slave节点的待发送消息数量大于预定阈值,或/和消息大小大于预定阈值的情况下,启动消息压缩机制。In order to improve the effect of message compression and decompression, in a preferred embodiment, it is judged whether to trigger the message compression mechanism according to one or more of the number of messages to be sent by the slave node, the message length and the heartbeat time interval. For example, when the number of messages to be sent by the slave node is greater than a predetermined threshold, or/and the message size is greater than a predetermined threshold, the message compression mechanism is started.
为进一步验证本发明的效果,进行了实验。具体地,创建模拟环境,如10000个slave节点同时向master节点发送消息的场景,同时对于不同的消息大小,展示了使用Zlib压缩算法之后的消息大小,并计算出相应的压缩比。此外,为了解Zlib压缩算法的性能,展示了slave进程压缩一条消息的时间以及master进程解压缩一条消息的时间。在使用了Zlib压缩算法之后,收集优化后的通信总延迟,并与默认的通信总延迟进行对比,计算其优化节省的时间以及相应的优化比率。实验结果参见下表1。In order to further verify the effect of the present invention, experiments were carried out. Specifically, create a simulation environment, such as a scene where 10,000 slave nodes send messages to the master node at the same time, and for different message sizes, show the message size after using the Zlib compression algorithm, and calculate the corresponding compression ratio. Furthermore, to understand the performance of the Zlib compression algorithm, the time it takes for the slave process to compress a message and the time for the master process to decompress a message is shown. After using the Zlib compression algorithm, collect the optimized total communication delay and compare it with the default total communication delay to calculate the time saved by its optimization and the corresponding optimization ratio. The experimental results are shown in Table 1 below.
表1:实验结果Table 1: Experimental results
Figure PCTCN2021124403-appb-000001
Figure PCTCN2021124403-appb-000001
由表1可以看出,压缩比随着消息大小的增加而增加,即消息越大, 压缩效果越好,因此采用Zlib压缩算法后,显著提升了压缩效果。It can be seen from Table 1 that the compression ratio increases with the increase of the message size, that is, the larger the message, the better the compression effect. Therefore, after using the Zlib compression algorithm, the compression effect is significantly improved.
图2表示使用Zlib压缩算法后,slave节点压缩一条消息所花费的时间以及master节点解压缩一条消息所需要的时间,其中横轴表示消息大小(KB)。从图2可以看出,随着消息大小的增加,相应的压缩时间以及解压缩时间都随着增大。但是消息大小为100KB时候,压缩时间最大仅为4.4ms,解压缩时间最大仅为1.5ms,如此短的时间开销几乎可以忽略不计。Figure 2 shows the time it takes for the slave node to compress a message and the time it takes for the master node to decompress a message after using the Zlib compression algorithm, where the horizontal axis represents the message size (KB). It can be seen from Figure 2 that as the message size increases, the corresponding compression time and decompression time both increase. But when the message size is 100KB, the maximum compression time is only 4.4ms, and the maximum decompression time is only 1.5ms, such a short time overhead is almost negligible.
图3的纵轴表示优化节省的时间(即优化前的通信延迟减去优化后的通信延迟),横轴表示心跳时间间隔(s)。从图3可以明显看出,随着心跳时间间隔的减小,节省了通信时间。本发明在消息大小为100KB,心跳时间间隔为2s时候,对于通信延迟的节省时间达到最大优化值54.6秒。The vertical axis of Fig. 3 represents the time saved by optimization (that is, the communication delay before optimization minus the communication delay after optimization), and the horizontal axis represents the heartbeat time interval (s). It can be clearly seen from Figure 3 that the communication time is saved as the heartbeat time interval decreases. In the present invention, when the message size is 100KB and the heartbeat time interval is 2s, the time saving for communication delay reaches the maximum optimal value of 54.6 seconds.
图4的纵轴表示优化比率(优化前的通信延迟减去优化后的通信延迟,最后除以优化前的通信延迟,该值越大表示优化效果越好,理论上最高值为1),横轴表示心跳时间间隔(s),消息大小分别为20KB,40KB,60KB,80KB,100KB时,相应的平均的延迟优化率为23.54%,37.28%,43.85%,47.18%以及52.19%。当消息大小为100KB时候,最大优化比率达到56.34%。The vertical axis of Figure 4 represents the optimization ratio (the communication delay before optimization minus the communication delay after optimization, and finally divided by the communication delay before optimization, the larger the value, the better the optimization effect, and the theoretical maximum value is 1), and the horizontal axis The axis represents the heartbeat time interval (s). When the message size is 20KB, 40KB, 60KB, 80KB, and 100KB, the corresponding average delay optimization rates are 23.54%, 37.28%, 43.85%, 47.18%, and 52.19%. When the message size is 100KB, the maximum optimization ratio reaches 56.34%.
综上所述,针对现有优化算法并未涉及到对Mesos底层通信协议进行调优的技术问题,本发明在未采用复杂的调度算法或者资源分配算法的情况下,使用Zlib压缩算法对发送的消息进行压缩,在收到消息之后进行解压缩,实现了有限的网络带宽下,高流量的并发消息传递时,有效地通信延迟优化。实验结果表明,本发明实现了Mesos的通信延迟优化,且优化性能显著优于现有技术,通过使用Zlib压缩算法,最高达到56.34%的优化比率。In summary, the existing optimization algorithm does not involve the technical problem of tuning the underlying communication protocol of Mesos. The present invention uses the Zlib compression algorithm to compress the transmitted data without using complex scheduling algorithms or resource allocation algorithms. The message is compressed and decompressed after receiving the message, which realizes effective communication delay optimization during high-traffic concurrent message delivery under limited network bandwidth. Experimental results show that the present invention realizes the communication delay optimization of Mesos, and the optimization performance is significantly better than that of the prior art. By using the Zlib compression algorithm, the highest optimization rate reaches 56.34%.
本发明可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本发明的各个方面的计算机可读程序指令。The present invention can be a system, method and/or computer program product. A computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present invention.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是但不限于电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包 括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanically encoded device, such as a printer with instructions stored thereon A hole card or a raised structure in a groove, and any suitable combination of the above. As used herein, computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
用于执行本发明操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++、Python等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本发明的各个方面。Computer program instructions for carrying out operations of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or Source or object code written in any combination, including object-oriented programming languages—such as Smalltalk, C++, Python, etc., and conventional procedural programming languages—such as the “C” language or similar programming languages. Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect). In some embodiments, an electronic circuit, such as a programmable logic circuit, field programmable gate array (FPGA), or programmable logic array (PLA), can be customized by utilizing state information of computer-readable program instructions, which can Various aspects of the invention are implemented by executing computer readable program instructions.
这里参照根据本发明实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本发明的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It should be understood that each block of the flowcharts and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams, can be implemented by computer-readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。It is also possible to load computer-readable program instructions into a computer, other programmable data processing device, or other equipment, so that a series of operational steps are performed on the computer, other programmable data processing device, or other equipment to produce a computer-implemented process , so that instructions executed on computers, other programmable data processing devices, or other devices implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本发明的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。对于本领域技术人员来说公知的是,通过硬件方式实现、通过软件方式实现以及通过软件和硬件结合的方式实现都是等价的。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, a portion of a program segment, or an instruction that includes one or more Executable instructions. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by means of hardware, implementation by means of software, and implementation by a combination of software and hardware are all equivalent.
以上已经描述了本发明的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。本发明的范围由所附权利要求来限定。Having described various embodiments of the present invention, the foregoing description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and alterations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principle of each embodiment, practical application or technical improvement in the market, or to enable other ordinary skilled in the art to understand each embodiment disclosed herein. The scope of the invention is defined by the appended claims.

Claims (10)

  1. 一种基于Zlib压缩算法的云计算资源管理器通信延迟优化方法,该云计算管理器用于管理包含主节点和多个对应从节点的分布式计算框架,该方法包括以下步骤:A cloud computing resource manager communication delay optimization method based on Zlib compression algorithm, the cloud computing manager is used to manage a distributed computing framework comprising a master node and a plurality of corresponding slave nodes, the method comprises the following steps:
    对于待发送的消息,从节点采用协议数据交换格式工具库Protobuf进行序列化并在网络层使用Zlib算法进行压缩后传递给主节点;For the message to be sent, the slave node uses the protocol data exchange format tool library Protobuf to serialize and compress it using the Zlib algorithm at the network layer and then pass it to the master node;
    主节点对接收到的消息,根据压缩消息的长度标识进行解压缩。The master node decompresses the received message according to the length identifier of the compressed message.
  2. 根据权利要求1所述的方法,其中,在压缩消息之前,协议数据交换格式工具库Protobuf的字符串类型被修改为字节类型,并在消息中添加uint64类型的字段用于存储从节点的压缩消息的长度。The method according to claim 1, wherein, before compressing the message, the string type of the protocol data exchange format tool library Protobuf is modified to a byte type, and a field of type uint64 is added in the message for storing the compression of the slave node The length of the message.
  3. 根据权利要求1所述的方法,其中,还包括根据以下步骤统计从节点和主节点之间消息传递的通信总延迟:The method according to claim 1, further comprising counting the total communication delay of message delivery between the slave node and the master node according to the following steps:
    在每轮心跳时间间隔内,从主节点收到从节点发送的第一条消息开始,到主节点处理完从节点发送的最后一条消息结束,以时间差作为每轮心跳时间间隔的通信延迟;In each round of heartbeat time interval, from the time when the master node receives the first message sent by the slave node to the end when the master node processes the last message sent by the slave node, the time difference is used as the communication delay of each round of heartbeat time interval;
    累加每轮心跳时间间隔的延迟,作为最终的通信总延迟。Accumulate the delay of each heartbeat time interval as the final total communication delay.
  4. 根据权利要求3所述的方法,其中,在统计所述通信总延迟过程中通过获取时间戳,心跳计数,从节点进程ID和消息ID来唯一确定一条消息。The method according to claim 3, wherein, in the process of counting the total communication delay, a message is uniquely determined by obtaining a time stamp, a heartbeat count, a slave node process ID and a message ID.
  5. 根据权利要求4所述的方法,其中,通过Log(INFO)语句打印各条消息的时间戳,心跳计数,从节点进程ID和消息ID。The method according to claim 4, wherein, the timestamp of each message is printed by the Log (INFO) statement, the heartbeat count, the slave node process ID and the message ID.
  6. 根据权利要求1所述的方法,其中,从节点调用zlib.h库中定义的压缩函数进行消息压缩,主节点通过调用解压缩函数进行消息的解压缩。The method according to claim 1, wherein the slave node invokes the compression function defined in the zlib.h library to compress the message, and the master node decompresses the message by calling the decompression function.
  7. 根据权利要求1所述的方法,其中,所述云计算资源管理器用于基于Mesos的框架、YARN框架或K8s框架。The method according to claim 1, wherein the cloud computing resource manager is used in a framework based on Mesos, a YARN framework or a K8s framework.
  8. 根据权利要求1所述的方法,其中,根据从节点待发送消息的数量、消息大小或心跳时间间隔判断是否对消息进行压缩后传递。The method according to claim 1, wherein it is judged whether to compress the message and deliver it according to the number of messages to be sent by the slave node, the message size or the heartbeat time interval.
  9. 一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现根据权利要求1至8中任一项所述方法的步骤。A computer-readable storage medium, on which a computer program is stored, wherein, when the program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are realized.
  10. 一种计算机设备,包括存储器和处理器,在所述存储器上存储有能够在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现权利要求1至8中任一项所述的方法的步骤。A computer device comprising a memory and a processor, wherein a computer program capable of running on the processor is stored on the memory, wherein any one of claims 1 to 8 is implemented when the processor executes the program The steps of the method described in the item.
PCT/CN2021/124403 2021-08-16 2021-10-18 Zlib compression algorithm-based cloud computing resource manager communication delay optimization method WO2023019712A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110935674.0A CN115914380A (en) 2021-08-16 2021-08-16 Communication delay optimization method of cloud computing resource manager based on ZLib compression algorithm
CN202110935674.0 2021-08-16

Publications (1)

Publication Number Publication Date
WO2023019712A1 true WO2023019712A1 (en) 2023-02-23

Family

ID=85239928

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/124403 WO2023019712A1 (en) 2021-08-16 2021-10-18 Zlib compression algorithm-based cloud computing resource manager communication delay optimization method

Country Status (2)

Country Link
CN (1) CN115914380A (en)
WO (1) WO2023019712A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026398A (en) * 2009-09-15 2011-04-20 普天信息技术研究院有限公司 Method and device for realizing packet data convergence protocol of LTE relay system
US20200022022A1 (en) * 2017-03-10 2020-01-16 Convida Wireless, Llc Dynamic header compression for constrained networks
CN111510419A (en) * 2019-01-31 2020-08-07 华为技术有限公司 Data compression method and base station
CN113067674A (en) * 2021-03-17 2021-07-02 北京智慧星光信息技术有限公司 Transmission method, system, electronic device and storage medium of network text data
CN113094346A (en) * 2021-03-10 2021-07-09 北京四达时代软件技术股份有限公司 Big data coding and decoding method and device based on time sequence

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026398A (en) * 2009-09-15 2011-04-20 普天信息技术研究院有限公司 Method and device for realizing packet data convergence protocol of LTE relay system
US20200022022A1 (en) * 2017-03-10 2020-01-16 Convida Wireless, Llc Dynamic header compression for constrained networks
CN111510419A (en) * 2019-01-31 2020-08-07 华为技术有限公司 Data compression method and base station
CN113094346A (en) * 2021-03-10 2021-07-09 北京四达时代软件技术股份有限公司 Big data coding and decoding method and device based on time sequence
CN113067674A (en) * 2021-03-17 2021-07-02 北京智慧星光信息技术有限公司 Transmission method, system, electronic device and storage medium of network text data

Also Published As

Publication number Publication date
CN115914380A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
US11836533B2 (en) Automated reconfiguration of real time data stream processing
CN114201421B (en) Data stream processing method, storage control node and readable storage medium
JP7330393B2 (en) Method and apparatus for managing and controlling resources, device and storage medium
US10698863B2 (en) Method and apparatus for clearing data in cloud storage system
CN107943618B (en) Data quick recovery method of simulation system and storage medium
WO2023273544A1 (en) Log file storage method and apparatus, device, and storage medium
WO2023143264A1 (en) Data compression method and apparatus
US20230037783A1 (en) Resource scheduling method and related apparatus
CN103577245A (en) Lightweight class virtual machine migration method
JP2023536304A (en) Methods, systems and programs for managing communication between microservices
KR20230079348A (en) Cloud code development system, method, device, device and storage medium
WO2023019712A1 (en) Zlib compression algorithm-based cloud computing resource manager communication delay optimization method
CN112650755A (en) Data storage method, method for querying data, database and readable medium
CN116347518A (en) User plane data packet processing system, method, computer equipment and storage medium
WO2022218218A1 (en) Method and apparatus for processing data, reduction server, and mapping server
CN104317906A (en) Processing method for large-scale storage of reported data of GPS (global positioning system) monitoring radios
CN113934767A (en) Data processing method and device, computer equipment and storage medium
US10122789B1 (en) Log information transmission integrity
US8065374B2 (en) Application-level lossless compression
US20230305918A1 (en) Fault Tolerant Big Data Processing
WO2023202241A1 (en) Communication method and related product
US11144598B2 (en) Fast object listing in geographically distributed data storage environment
US20230236795A1 (en) Data processing method implemented at edge switch, electronic device, and program product
CN118245445A (en) Log query method, device, electronic equipment, storage medium and program product
CN117931439A (en) Map reduction task processing method, device, related equipment and program product

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21953948

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE