The invention discloses a distributed architecture-oriented
time sequence library high-
concurrency writing method, which relates to the technical field of computer databases, and comprises the following steps of: constructing a self-adaptive multi-stage writing path of
time sequence data, and dynamically selecting the writing path of the
time sequence data and adjusting a load in real time by embedding an intelligent scheduling layer and a cross-layer
feedback control mechanism; based on a
sliding time window and an additional recording
queue mechanism, performing isolation and combination on out-of-order data and historical complement data written in the distributed time
sequence database; and based on version conflict detection of a vector
clock and a latest version priority merging strategy, merging and writing confirmation are carried out on the time sequence data after out-of-order writing and historical additional recording
processing. According to the method, a layered write-in
path design and a lightweight consistency protocol are adopted, high-
concurrency write-in and final consistency guarantee of data are realized aiming at complex scenes such as out-of-order write-in, historical compensation and network
jitter, and the write-in performance and reliability of a
system are improved.