The invention discloses a fund value data
record distributed receiving and storing method and
system, and belongs to the field of distributed
big data, the method comprises the following steps: recording and analyzing the time consumption of each election cycle, the election success frequency, the failure frequency and
network delay data, and adjusting the election
timeout time in real time; collecting data of
response time, log synchronization rate and stability of the nodes, scoring the nodes and allocating priorities to optimize the election process; a batch replication and
asynchronous replication mechanism is adopted, so that communication
delay between nodes is reduced; and during the election period, the voting strategy is adjusted according to the distribution priority, the node with the high priority preferentially obtains votes, and the priority of each node is calculated and updated in real time for the next election period. According to the method, the consistency and
synchronism of data in a
distributed database cluster can be effectively improved, the number of election failures is reduced, the election efficiency and stability of a
system are optimized, and safe and efficient storage of fund numerical data is guaranteed.