The invention discloses a high-availability
database cluster
system based on message-oriented
middleware, comprising a
database service layer composed of a plurality of
database servers and a middle layer arranged between an
application layer and the database
service layer; wherein, the middle layer comprises a plurality of application proxies, a plurality of database
middleware and a message
bus; the application proxy is used for connection redirection when fault occurs on service nodes so as to keep service uninterrupted and improve reliability; the database
middleware is used for interception, analysis,
processing and
retransmission of the database request message; and the message
bus runs through the database middleware and the
database server, which is responsible for global sorting of reading and writing operation sent by the data middleware so as to ensure
data consistency and sending of the sorting result to the
database server. A feasible approach is provided for the invention in order to obtain a high-performance database with
high availability. The invention has the advantages of
high availability, good
scalability and easy construction and management.