CN106897421B - Memory database read and write abruption system and method based on sentry's mode - Google Patents

Memory database read and write abruption system and method based on sentry's mode Download PDF

Info

Publication number
CN106897421B
CN106897421B CN201710102628.6A CN201710102628A CN106897421B CN 106897421 B CN106897421 B CN 106897421B CN 201710102628 A CN201710102628 A CN 201710102628A CN 106897421 B CN106897421 B CN 106897421B
Authority
CN
China
Prior art keywords
library
sentry
read
node
write
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710102628.6A
Other languages
Chinese (zh)
Other versions
CN106897421A (en
Inventor
顾伟涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Mingshitang Digital Technology Co ltd
Original Assignee
Hangzhou Ming Shitang Education And Science Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Ming Shitang Education And Science Development Co Ltd filed Critical Hangzhou Ming Shitang Education And Science Development Co Ltd
Priority to CN201710102628.6A priority Critical patent/CN106897421B/en
Publication of CN106897421A publication Critical patent/CN106897421A/en
Application granted granted Critical
Publication of CN106897421B publication Critical patent/CN106897421B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/217Database tuning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of memory database read and write abruption system and method based on sentry's mode, which includes client, driving unit and data-base cluster;Client accesses data-base cluster by driving unit;Data-base cluster is memory database leader follower replication cluster, includes at least three sentinel nodes, for monitoring master library in real time and living from inventory;Driving unit includes with lower module: updating sentinel node block of state, selection sentinel node module, establishes sentry's link block, judge read-write mode module, selection master library node module, judge read-write requests type block, selection principal and subordinate library node module, update from library information module, establish database connection module.Application program does not need to be respectively configured master library in configuration and from library node, it is only necessary to unified configuration sentinel node, so that it may realize that read-write is automatically separated, can greatly improve handling capacity and high concurrent.Backer's work read and write abruption of the present invention, framework simple and stable, and can realize load balancing.

Description

Memory database read and write abruption system and method based on sentry's mode
Technical field
The invention belongs to memory database technical fields, and in particular to write master library to automatic realization and read the method from library.
Background technique
Memory database is currently the common non-relational database of internet industry, especially key assignments type internal storage data Library, quickly, application scenarios are extensive for read-write requests performance.
Sentry's mode is the middleware that this kind of memory databases are used to monitor and detect master library and failover, Ke Yi Restore master library in very short time and serviced from library, to improve database availability.Usual situation, all request distributions of client To master library, concurrent handling capacity is resulted in be subject to certain restrictions in this way, it, can be using read and write abruption in order to improve read-write handling capacity Method, i.e. write request are distributed on master library, and read request is distributed to from library.
Currently, the common read and write abruption scheme of key assignments memory database generally has the following two kinds:
(1) master library is configured in the application and from library connection type
If it is write operation, master library connection type is used;Otherwise, it using from library connection type, is weighed if client has Try logic function, can improve to a certain extent from library availability, otherwise, once from library delay machine, read request by whole failures, Cause very big loss.
Disadvantage:
A) program is that clastotype is write in people's part work and part study, can not adjust automatically principal and subordinate library node;
If b) master library delay machine, can not automatic fault switching, write operation all failure;
C) it cannot achieve load balancing from library;From library, availability is low;
D) client logic is more complicated
(2) middle layer mode is used
Using middle layer mode, it is mounted to different virtual IP address or domain name respectively master library and from library, matches in client It sets and is respectively configured in file.Read-write requests use corresponding virtual IP address or domain name respectively.
Disadvantage:
A) middle layer itself there are problems that the risk of stability and reliability and, so that reduce entire data-base cluster can The property used;
B) database schema is more complicated, increases probability of failure;
C) it can not accomplish that read-write is automatically separated;
D) increase maintenance cost.
Summary of the invention
In view of the above-mentioned deficiencies in the prior art, it is an object of the present invention to provide a kind of memory database reading based on sentry's mode Write separation system and method.
The purpose of the present invention is achieved through the following technical solutions: a kind of memory database reading based on sentry's mode Write separation system, including client, three parts of driving unit and data-base cluster;
The client (application program) accesses data-base cluster by driving unit;
The data-base cluster is memory database leader follower replication cluster, can be one main one from it is more to be also possible to a master From including at least three sentinel nodes, for monitoring master library in real time and living from inventory;
The driving unit includes with lower module:
(1) sentinel node block of state is updated, which receives following parameter: the IP of sentinel node and port;
Illustrate: the IP and port information that failure sentry's list saves the sentinel node that state is failure are (in the list often A sentry is known as a member);Survival sentry's list saves the IP and port information (column that state is the sentinel node of survival Each sentry is known as a member in table).Wherein, if cannot connect to some sentinel node, then it is assumed that the sentry is in event Barrier state, otherwise it is assumed that being existing state.
The functions of modules is as follows: scanning all members of failure sentry list first, is checked by survival, if the member Status Change is survival, it is removed in failure sentry's list, while being added in survival sentry's list;Then scanning survival All members of sentry's list, by survival check, if the member condition is changed to failure, by its from survival list Lee Removal, is placed in failure sentry's list.Then, it is got and is worked as according to the interface that incoming parameter and sentry itself provide Preceding all sentinel node information, and judge the viability of each node;If state is failure, and is not had in failure sentry's list There is sentry's information, be then placed in failure sentry's list, while comparing survival sentry's list, such as there are sentry letters Breath, then be deleted;If state is survival, and does not have the sentry in sentry's list of surviving, then the survival whistle is placed on In soldier's list, while failure sentry's list is compared, such as there are the sentry, is then deleted.
(2) sentinel node module is selected, which receives following parameter: the IP of sentinel node and port;
The functions of modules is as follows: selecting a sentinel node in survival sentry's list using random algorithm.If survival List is empty by sentry, returns an error to client, indicates this time request failure;Otherwise, sentinel node IP and port are returned to.
(3) sentry's link block is established, which receives following parameter: the IP of sentinel node and port;
The functions of modules is as follows: according to incoming parameter, calling system library method is established and is connected with return sentry.
(4) judge read-write mode module, which receives following parameter: sentry's connection and read-write mode;
The functions of modules is as follows: if read-write mode is non-automatic clastotype, calling selection master library node module; Otherwise, it calls and judges read-write requests type block.
(5) master library node module is selected, which receives following parameter: sentry's connection and master library identifier;
Illustrate: saving master library nodal information, including master library IP, port and master library identifier in master library list;
The functions of modules is as follows: scanning master library list, if there is no the corresponding master library node of the master library identifier, then Sentry's interface is called, the master library information that corresponding state is survival is reacquired, if obtaining less than master library information, returns to mistake; Otherwise, it is placed in master library list, meanwhile, return to IP and the port of master library.If having existed master library in master library list The corresponding master library node of identifier, if the master library state is survival, returns to IP and the end of master library then checking by survival Mouthful;Otherwise, which is deleted in master library list, calls sentry's interface, reacquire master library information.
(6) judge read-write requests type block, which receives following parameter: sentry's connection and operational order;
Illustrate: all operators of memory database and its read-write type being placed in operator list, wherein write type Operator, read-write type is to write, and reads the operator of type, and read-write type is to read, remaining operator, and read-write type is It writes;
The functions of modules is as follows: according to system library function (such as C Plus Plus parsing character string function), operational order is parsed, Operator is obtained, operator list is then compared, returns to read-write type.
(7) principal and subordinate library node module is selected, which receives following parameter: sentry's connection, read-write type and master library mark Symbol;
Illustrate: from library, node is placed in the list of library, which includes from library node IP, port and master library identifier;
The functions of modules is as follows: if read-write type is to write type, calling selection master library node module;If it is reading class Type calls update from library information module first, updates from library nodal information;If from library, list is empty, calls selection master Library node module;Otherwise, using random algorithm, corresponding one in the list of library, is being randomly choosed from library, is returning to the IP from library The port and;
(8) it updates from library information module, which receives following parameter: sentry's connection and master library identifier;
The functions of modules is as follows: according to sentry's interface, get the master library identifier it is corresponding it is stateful for survival From library information, update from library list, at this point, from library list save survival from library node, if do not survive at this time from Library, then list is empty from library.
(9) database connection module is established, it is as follows which receives parameter: database (master library or from library) node IP, port and user name password;
The functions of modules is as follows: user name password is first verified that, if user name password bad, then directly returning wrong Accidentally;Otherwise, calling system library function establishes the connection of client and data-base cluster, carries out read/write operation.
A kind of memory database read and write abruption method based on sentry's mode, client access database by driving unit Cluster, specifically includes the following steps:
(1) sentry's connection, including following sub-step are obtained:
(1.1) in client configuration file, configure following parameter: the IP address of one or more sentinel node, port, Master library identifier;User name password and read-write mode;Read-write mode is divided into 0 and 1, and 0 indicates non-automatic read and write abruption, all visitors The request of family end is all distributed on master library;1 indicate read-write is automatically separated, write request is distributed on master library, read request be distributed to from On library, if unavailable from library, it is distributed on master library.
(1.2) it client and driving unit interaction: calls update sentinel node block of state first, then, call selection Sentinel node module selects a sentinel node, finally, call establishment sentry's link block, driving unit establishes sentry's connection, Return to client.
(2) judge read and write abruption mode: calling judges read-write mode module, according to specific mode, calls selection master library section Point module judges read-write requests type block, returns to read and write abruption mode type.
(3) select master library or from library node: according to request type, call respectively selection master library node module and update from Library information module returns to master library or from library node.
(4) establish database connection: the incoming information such as database node IP and port, call establishment database connect mould As a result block returns to client.
The beneficial effects of the present invention are:
(1) read-write is automatically separated
Application program does not need to be respectively configured master library in configuration and from library node, it is only necessary to unified configuration sentinel node, It can realize that read-write is automatically separated, handling capacity and high concurrent can be greatly improved.
(2) availability is high
If master library node failure, within a very short time, master library automatically switches and restores service, and substantially increasing master library can The property used;As long as also, any one sentinel node survival, application program can access memory database node, greatly promote Service availability.
(3) backer's work read and write abruption
The system not only supports read-write to be automatically separated, can be with backer's work read and write abruption, and can satisfy more scenes needs It asks, use is more flexible.
(4) framework simple and stable
Master library High Availabitity may be implemented in the system and read-write is automatically separated, and does not need third party software, framework simple and stable.
(5) it uses simply, it is easy to maintain
For application program, it is only necessary to which the unified configuration sentinel node in configuration file does not need other any behaviour Make, using simple;For operation maintenance personnel, due to not having third party software, framework is simple, and maintenance cost is low.
(6) load balancing
All sentinel nodes (using random algorithm) averraged read-write requests, and load balancing may be implemented;It is multiple from library (using random algorithm) averraged read request, and load balancing also may be implemented.
Detailed description of the invention
Fig. 1 is the memory database read and write abruption configuration diagram based on sentry's mode;
Fig. 2 is the memory database read and write abruption method flow diagram based on sentry's mode;
Fig. 3 is client write request and driving unit interaction diagrams;
Fig. 4 is client read request and driving unit interaction diagrams.
Specific embodiment
Invention is further described in detail in the following with reference to the drawings and specific embodiments.
As shown in Figure 1, a kind of memory database read and write abruption system based on sentry's mode provided by the invention, including visitor Family end, three parts of driving unit and data-base cluster;
The client can be application program, access data-base cluster by driving unit;
The data-base cluster is memory database leader follower replication cluster, can be one main one from it is more to be also possible to a master From including at least three sentinel nodes, for monitoring master library in real time and living from inventory;
The driving unit includes with lower module:
(1) sentinel node block of state is updated, which receives following parameter: the IP of sentinel node and port;
Illustrate: the IP and port information that failure sentry's list saves the sentinel node that state is failure are (in the list often A sentry is known as a member);Survival sentry's list saves the IP and port information (column that state is the sentinel node of survival Each sentry is known as a member in table).Wherein, if cannot connect to some sentinel node, then it is assumed that the sentry is in event Barrier state, otherwise it is assumed that being existing state.
The functions of modules is as follows: scanning all members of failure sentry list first, is checked by survival, if the member Status Change is survival, it is removed in failure sentry's list, while being added in survival sentry's list;Then scanning survival All members of sentry's list, by survival check, if the member condition is changed to failure, by its from survival list Lee Removal, is placed in failure sentry's list.Then, it is got and is worked as according to the interface that incoming parameter and sentry itself provide Preceding all sentinel node information, and judge the viability of each node;If state is failure, and is not had in failure sentry's list There is sentry's information, be then placed in failure sentry's list, while comparing survival sentry's list, such as there are sentry letters Breath, then be deleted;If state is survival, and does not have the sentry in sentry's list of surviving, then the survival whistle is placed on In soldier's list, while failure sentry's list is compared, such as there are the sentry, is then deleted.
(2) sentinel node module is selected, which receives following parameter: the IP of sentinel node and port;
The functions of modules is as follows: selecting a sentinel node in survival sentry's list using random algorithm.If survival List is empty by sentry, returns an error to client, indicates this time request failure;Otherwise, sentinel node IP and port are returned to.
(3) sentry's link block is established, which receives following parameter: the IP of sentinel node and port;
The functions of modules is as follows: according to incoming parameter, calling system library method is established and is connected with return sentry.
(4) judge read-write mode module, which receives following parameter: sentry's connection and read-write mode;
The functions of modules is as follows: if read-write mode is non-automatic clastotype, calling selection master library node module; Otherwise, it calls and judges read-write requests type block.
(5) master library node module is selected, which receives following parameter: sentry's connection and master library identifier;
Illustrate: saving master library nodal information, including master library IP, port and master library identifier in master library list;
The functions of modules is as follows: scanning master library list, if there is no the corresponding master library node of the master library identifier, then Sentry's interface is called, the master library information that corresponding state is survival is reacquired, if obtaining less than master library information, returns to mistake; Otherwise, it is placed in master library list, meanwhile, return to IP and the port of master library.If having existed master library in master library list The corresponding master library node of identifier, if the master library state is survival, returns to IP and the end of master library then checking by survival Mouthful;Otherwise, which is deleted in master library list, calls sentry's interface, reacquire master library information.
(6) judge read-write requests type block, which receives following parameter: sentry's connection and operational order;
Illustrate: all operators of memory database and its read-write type being placed in operator list, wherein write type Operator, read-write type is to write, and reads the operator of type, and read-write type is to read, remaining operator, and read-write type is It writes;
The functions of modules is as follows: according to system library function (such as C Plus Plus parsing character string function), operational order is parsed, Operator is obtained, operator list is then compared, returns to read-write type.
(7) principal and subordinate library node module is selected, which receives following parameter: sentry's connection, read-write type and master library mark Symbol;
Illustrate: from library, node is placed in the list of library, which includes from library node IP, port and master library identifier;
The functions of modules is as follows: if read-write type is to write type, calling selection master library node module;If it is reading class Type calls update from library information module first, updates from library nodal information;If from library, list is empty, calls selection master Library node module;Otherwise, using random algorithm, corresponding one in the list of library, is being randomly choosed from library, is returning to the IP from library The port and;
(8) it updates from library information module, which receives following parameter: sentry's connection and master library identifier;
The functions of modules is as follows: according to sentry's interface, get the master library identifier it is corresponding it is stateful for survival From library information, update from library list, at this point, from library list save survival from library node, if do not survive at this time from Library, then list is empty from library.
(9) database connection module is established, it is as follows which receives parameter: database (master library or from library) node IP, port and user name password;
The functions of modules is as follows: user name password is first verified that, if user name password bad, then directly returning wrong Accidentally;Otherwise, calling system library function establishes the connection of client and data-base cluster, carries out read/write operation.
As shown in Fig. 2, a kind of memory database read and write abruption method based on sentry's mode provided by the invention, client Data-base cluster is accessed by driving unit, specifically includes the following steps:
(1) sentry's connection, including following sub-step are obtained:
(1.1) in client configuration file, configure following parameter: the IP address of one or more sentinel node, port, Master library identifier;User name password and read-write mode;Read-write mode is divided into 0 and 1, and 0 indicates non-automatic read and write abruption, all visitors The request of family end is all distributed on master library;1 indicate read-write is automatically separated, write request is distributed on master library, read request be distributed to from On library, if unavailable from library, it is distributed on master library.
(1.2) it client and driving unit interaction: calls update sentinel node block of state first, then, call selection Sentinel node module selects a sentinel node, finally, call establishment sentry's link block, driving unit establishes sentry's connection, Return to client.
(2) judge read and write abruption mode: calling judges read-write mode module, according to specific mode, calls selection master library section Point module judges read-write requests type block, returns to read and write abruption mode type.
(3) select master library or from library node: according to request type, call respectively selection master library node module and update from Library information module returns to master library or from library node.
(4) establish database connection: the incoming information such as database node IP and port, call establishment database connect mould As a result block returns to client.

Claims (2)

1. a kind of memory database read and write abruption system based on sentry's mode, which is characterized in that including client, driving unit With three parts of data-base cluster;
The client accesses data-base cluster by driving unit;
The data-base cluster is memory database leader follower replication cluster, can be one main one from, be also possible to one master and multiple slaves, until It less include three sentinel nodes, for monitoring master library in real time and living from inventory;
The driving unit includes with lower module:
(1) sentinel node block of state is updated, which receives following parameter: the IP of sentinel node and port;
The functions of modules is as follows: scanning all members of failure sentry list first, is checked by survival, if the member condition It is changed to survive, it is removed in failure sentry's list, while being added in survival sentry's list;Then scanning survival sentry All members of list are checked by survival, if the member condition is changed to failure, it is gone in survival list It removes, is placed in failure sentry's list;Then, it is got currently according to the interface that incoming parameter and sentry itself provide All sentinel node information, and judge the viability of each node;If state is failure, and is not had in failure sentry's list Sentry's information is then placed in failure sentry's list, while comparing survival sentry's list, such as there are sentry's information, Then it is deleted;If state is survival, and does not have the sentry in sentry's list of surviving, then survival sentry's column are placed on In table, while failure sentry's list is compared, such as there are the sentry, is then deleted;
(2) sentinel node module is selected, which receives following parameter: the IP of sentinel node and port;
The functions of modules is as follows: selecting a sentinel node in survival sentry's list using random algorithm;If surviving sentry List is empty, returns an error to client, indicates this time request failure;Otherwise, sentinel node IP and port are returned to;
(3) sentry's link block is established, which receives following parameter: the IP of sentinel node and port;
The functions of modules is as follows: according to incoming parameter, calling system library method is established and is connected with return sentry;
(4) judge read-write mode module, which receives following parameter: sentry's connection and read-write mode;
The functions of modules is as follows: if read-write mode is non-automatic clastotype, calling selection master library node module;It is no Then, it calls and judges read-write requests type block;
(5) master library node module is selected, which receives following parameter: sentry's connection and master library identifier;
The functions of modules is as follows: scanning master library list saves master library nodal information, including master library IP, port in master library list With master library identifier;If there is no the corresponding master library node of the master library identifier, then sentry's interface is called, reacquisition pair The state answered is the master library information of survival, if obtaining less than master library information, returns to mistake;Otherwise, it is placed on master library list In, meanwhile, return to IP and the port of master library;If having existed the corresponding master library node of master library identifier in master library list, that It is checked by survival, if the master library state is survival, returns to IP and the port of master library;Otherwise, which is arranged from master library It is deleted in table, calls sentry's interface, reacquire master library information;
(6) judge read-write requests type block, which receives following parameter: sentry's connection and operational order;
The functions of modules is as follows: all operators of memory database and its read-write type are placed in operator list, wherein The operator of type is write, read-write type is to write, and reads the operator of type, and read-write type is to read, remaining operator reads and writes class Type is to write;According to system library function, operational order is parsed, obtains operator, then compares operator list, returns to read-write class Type;
(7) principal and subordinate library node module is selected, which receives following parameter: sentry's connection, read-write type and master library identifier;
The functions of modules is as follows: from library, node is placed in the list of library, which includes from library node IP, port and master library mark Know symbol;If read-write type is to write type, selection master library node module is called;If it is read type, first call update from Library information module is updated from library nodal information;If from library, list is empty, calls selection master library node module;Otherwise, it adopts With random algorithm, corresponding one in the list of library, is being randomly choosed from library, is returning to the IP from library and port;
(8) it updates from library information module, which receives following parameter: sentry's connection and master library identifier;
The functions of modules is as follows: according to sentry's interface, get the master library identifier it is corresponding it is stateful be survival from library Information is updated from library list, at this point, from library list save survival from library node, if do not survive at this time from library, that From library, list is empty;
(9) database connection module is established, it is as follows which receives parameter: master library or the IP from library node, port and user Name password;
The functions of modules is as follows: user name password is first verified that, if user name password bad, then directly returning to mistake;It is no Then, calling system library function establishes the connection of client and data-base cluster, carries out read/write operation.
2. a kind of method of the memory database read and write abruption system of sentry's mode based on claim 1, which is characterized in that tool Body the following steps are included:
(1) sentry's connection, including following sub-step are obtained:
(1.1) in client configuration file, following parameter: the IP address of one or more sentinel node, port, master library is configured Identifier;User name password and read-write mode;
(1.2) it client and driving unit interaction: calls update sentinel node block of state first, then, call selection sentry Node module selects a sentinel node, finally, call establishment sentry's link block, driving unit establishes sentry's connection, returns To client;
(2) judge read and write abruption mode: calling judges read-write mode module, according to specific mode, calls selection master library node mould Block judges read-write requests type block, returns to read and write abruption mode type;
(3) it selects master library or from library node: according to request type, calling selection master library node module respectively and update and believe from library Module is ceased, returns to master library or from library node;
(4) database connection is established: incoming database node IP and port information, call establishment database connection module, as a result Return to client.
CN201710102628.6A 2017-02-24 2017-02-24 Memory database read and write abruption system and method based on sentry's mode Active CN106897421B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710102628.6A CN106897421B (en) 2017-02-24 2017-02-24 Memory database read and write abruption system and method based on sentry's mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710102628.6A CN106897421B (en) 2017-02-24 2017-02-24 Memory database read and write abruption system and method based on sentry's mode

Publications (2)

Publication Number Publication Date
CN106897421A CN106897421A (en) 2017-06-27
CN106897421B true CN106897421B (en) 2019-03-26

Family

ID=59184052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710102628.6A Active CN106897421B (en) 2017-02-24 2017-02-24 Memory database read and write abruption system and method based on sentry's mode

Country Status (1)

Country Link
CN (1) CN106897421B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491466B (en) * 2018-03-06 2022-08-30 平安科技(深圳)有限公司 Electronic device, access instruction information acquisition method, and storage medium
CN111813856A (en) * 2020-07-01 2020-10-23 浪潮云信息技术股份公司 PostgreSQL high-availability implementation method
CN113946374A (en) * 2021-10-18 2022-01-18 智马达汽车有限公司 Control method and control system for preventing vehicle sentinel mode from failing and vehicle
CN114785713B (en) * 2022-03-31 2024-02-23 度小满科技(北京)有限公司 Method and proxy middleware for realizing high availability of Redis cluster

Also Published As

Publication number Publication date
CN106897421A (en) 2017-06-27

Similar Documents

Publication Publication Date Title
CN106897421B (en) Memory database read and write abruption system and method based on sentry's mode
US11360854B2 (en) Storage cluster configuration change method, storage cluster, and computer system
EP3352433B1 (en) Node connection method and distributed computing system
US8954391B2 (en) System and method for supporting transient partition consistency in a distributed data grid
US7970823B2 (en) System for sharing data objects among applications
US9032011B2 (en) Management of data object sharing among applications
CN113515499B (en) Database service method and system
CN107222339B (en) Graph database-based fault analysis method and device for power information communication system
US20090049054A1 (en) Method and apparatus for sequencing transactions globally in distributed database cluster
CN102148850A (en) Cluster system and service processing method thereof
US10826812B2 (en) Multiple quorum witness
CN102194009A (en) Database hosting method and database hosting platform system
CN110071978A (en) A kind of method and device of cluster management
CN103488526A (en) System and method for locking business resource in distributed system
CN105426469A (en) Database cluster metadata management method and system
CN103944993A (en) Million-level user simultaneous online mobile platform server architecture
CN110674192A (en) Redis high-availability VIP (very important person) drifting method, terminal and storage medium
CN107180034A (en) The group system of MySQL database
CN113901047A (en) Simple cluster master-slave election method based on memory database
CN105723365B (en) Method for optimum indexing, main database node and subscriber database node
CN106713503B (en) Method and device for acquiring service server information in real time
CN105868210A (en) Creating method and device of unique index in distributed database
CN109510730A (en) Distributed system and its monitoring method, device, electronic equipment and storage medium
CN116016028B (en) Method, system, medium and equipment for creating multiple network interfaces for Pod based on IPvlan
US8700575B1 (en) System and method for initializing a network attached storage system for disaster recovery

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220720

Address after: 310000 room 801, 8th floor, building 1, No. 108 Xiangyuan Road, Gongshu District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou mingshitang Digital Technology Co.,Ltd.

Address before: 310019 room 507, floor 5, building A15, No. 9, Jiusheng Road, Jianggan District, Hangzhou, Zhejiang Province

Patentee before: HANGZHOU MISTONG EDUCATION SCIENCE & TECHNOLOGY DEVELOPMENT CO.,LTD.

TR01 Transfer of patent right