Font Size: a A A

Research And Implementation Of Fabric Blockchain Dynamic Monitoring And Management System

Posted on:2021-01-21Degree:MasterType:Thesis
Country:ChinaCandidate:Z J LiuFull Text:PDF
GTID:2518306512487784Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Blockchain technology is still in its early stages of development,and both the underlying technology and the regulatory system need to be continuously improved.Currently,Hyperledger Fabric blockchain is short of low-cost,open-source monitoring and management services.It cann't effectively monitor changes in network nodes,the increase in the amount of ledger data,and the efficiency of transaction performance execution.This paper combined the blockchain explorer open-source repositories and prometheus monitoring solution,then detailed the design and implementation of Fabric blockchain dynamic monitoring and management system which aimed to provide low-cost,scalable,interactive and friendly monitoring services for Fabric blockchin monitoring and operations.Firstly,we deeply analyzed the technical architecture functions of Fabric's underlying platformand and the prometheus system which support virtual container monitoring.Secondly,through the analysis of system requirements,we identified the core problems and the modules of the system and proposed a layered system architecture.In which including a data layer for persistently storing ledgers and network configuration data based on Postgre SQL,and storing time series data for Fabric operating status based on Prometheus TSDB.A synchronization layer based on Fabric service discovery and channel event to achieve timely synchronization of network configuration,new blocks,new transactions.A control layer that provides data access control and business logic that handles asynchronous data requests.A presentation layer that is intuitive and friendly.And we modeled the system's main technologies and modules.Then,we proposed the overall system implementation scheme,dynamically extended the connection configuration based on service discovery,and optimized the data synchronization module using Node main and child processes.Finally,we established a functional test table and a performance test plan to test the system.The functional test verifies the consistency and effectiveness of the system's functions,and the performance test verifies the reliability and stability of the system and the data synchronization module.Test and analysis results proved that extending Fabric network connections through service discovery to dynamically sense changes in network nodes can reduce configuration modification costs caused by Fabric blockchain supporting nodes joining or leaving the network,and at the same time,enhance the efficiency of supervisors to track abnormal nodes.The Fabric operation service can dynamically monitor the performance of the three stages of transaction flow: Proposal,Ordering,Validation & Commit,and intuitively reflect the efficiency of Fabric transaction processing to the monitoring staff without any modification to the Fabric core.The ledger data synchronization scheme based on the optimization of Fabric channel events and Node main and child processes can store data in the auxiliary database,which can effectively solve the problem that the amount of ledger data cannot be quickly counted,and provides millisecond-level data monitoring...
Keywords/Search Tags:Hyperledger Fabric, blockchain, time series data, dynamic monitoring, data synchronization
PDF Full Text Request
Related items