Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for automatically increasing or decreasing data consumers and device using the method

A consumer and data technology, applied in the field of information processing, can solve the problems of increasing computing costs and information queue burden, and the speed of information extraction cannot keep up with the drastic changes in cached information.

Active Publication Date: 2020-02-14
ACER INC
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Frequent inquiries to the information queue will increase the computing cost and the burden of the information queue, and the speed of information extraction cannot keep up with the drastic changes in the cached information in the information queue.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for automatically increasing or decreasing data consumers and device using the method
  • Method for automatically increasing or decreasing data consumers and device using the method
  • Method for automatically increasing or decreasing data consumers and device using the method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The following description is a preferred implementation mode for completing the invention, and its purpose is to describe the basic spirit of the invention, but not to limit the invention. For the actual content of the invention, reference must be made to the scope of the claims that follow.

[0028] It must be understood that words such as "comprising" and "including" used in this specification are used to indicate the existence of specific technical features, values, method steps, operations, components and / or components, but do not exclude the possibility of adding More technical characteristics, numerical values, method steps, operation processes, components, components, or any combination of the above.

[0029] Words such as "first", "second", and "third" used in the claims are used to modify the elements in the claims, and are not used to indicate that there is an order of priority, an antecedent relationship, or an element An element preceding another element, o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a method for automatically increasing and decreasing data consumers and a device using the method. The method is executed by a processing unit in a data consumer server, and comprises the following steps: receiving a plurality of state updating requests from a plurality of data consumers, wherein each state updating request contains busy states or idle states, and the busy states represent that the data consumers read data from a queue and process the data; calculating the number of the data consumers, the number of the busy states and the number of the idle states; and estimating the number of the data consumers to be increased according to the number of the data consumers, the number of the busy states and the number of the idle states, and generating the data consumers of the estimated number.

Description

technical field [0001] The present invention relates to an information processing technology, in particular to a method for automatically adding or subtracting data consumers and a device using the method. Background technique [0002] In order to process huge amounts of information in real time, most systems are equipped with message queues (Message Queue) as a buffer and temporary storage function, and then message consumers (Message Consumers) extract information and process them one by one. The traditional information queue extraction mechanism mostly uses multi-programs or multi-threads to periodically query the information queue, and extract and process information when necessary. Frequent inquiries to the information queue will increase the computing cost and the burden of the information queue, and the speed of information extraction cannot keep up with the drastic changes in the cached information in the information queue. Therefore, a method for automatically addi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/30G06F9/54
Inventor 林星卫范荣轩
Owner ACER INC