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

Transaction pool dynamic telescoping method, device, and storage medium

A transaction and device technology, applied in the Internet field, can solve the problems of not being able to match the actual use of the device well, and not be able to fully utilize the performance of the device, so as to achieve the effect of ensuring security

Pending Publication Date: 2020-09-08
HANGZHOU FUZAMEI TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For many devices with good or excellent memory configuration, the capacity of the default configuration often cannot fully utilize the performance of the device
Although some existing blockchain systems support externally resetting the transaction pool capacity through instructions, the artificially reset capacity usually cannot match the actual usage of the device well.

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
  • Transaction pool dynamic telescoping method, device, and storage medium
  • Transaction pool dynamic telescoping method, device, and storage medium
  • Transaction pool dynamic telescoping method, device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for ease of description, only parts related to the invention are shown in the drawings.

[0020] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0021] figure 1 It is a flow chart of a method for dynamically scaling a transaction pool provided by an embodiment of the present invention.

[0022] like figure 1 As shown, in this embodiment, the present invention provides a dynamic scaling method for a transaction pool, including:

[0023] ...

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 invention provides a transaction pool dynamic scaling method, a device and a storage medium. The method comprises the steps: monitoring a real-time memory usage value of a current device, and updating an average memory usage value in a first period according to the real-time memory usage value; monitoring whether the residual capacity of the transaction pool of the current node is not greaterthan a first threshold; if so, determining an average memory idle value of the current period according to the total memory of the current equipment and the average memory use value of the current period; determining the extensible capacity of the transaction pool according to the average memory idle value, the average transaction size and the safety coefficient; and expanding the transaction poolcapacity of the current node according to the extensible capacity of the transaction pool. According to the method, the memory performance of the equipment is fully utilized, and the capacity of thetransaction pool is dynamically expanded.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a method, device and storage medium for dynamic expansion and contraction of a transaction pool. Background technique [0002] In the existing blockchain system, after the node receives the transaction, it caches the transaction in the transaction pool when the local transaction pool is not full, and discards the transaction when the local transaction pool is full, or replaces the order in the transaction pool end of the deal. When the blockchain system is under high load, many blockchain services will be blocked. [0003] In order to ensure that all devices can run the blockchain program normally, in the existing blockchain system, the capacity of the transaction pool is configured as a fixed value suitable for common devices, for example, 1024 transactions, or 4096 transactions, etc. For many devices with good or excellent memory configuration, the capacity of ...

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
IPC IPC(8): G06F9/50G06F11/30
CPCG06F9/5016G06F11/3037
Inventor 何正军王志文吴思进
Owner HANGZHOU FUZAMEI TECH CO LTD