|
Supported clustersAny application using any kind of MySQL cluster is faced with the same tasks:
The plugin is optimized for fulfilling these tasks in the context of a classical asynchronous MySQL replication cluster consisting of a single master and many slaves. When using classical, asynchronous MySQL replication all of the above listed tasks need to be mastered at the client level. Other types of MySQL cluster may have lower requirements on the application side. For example, if all nodes in the cluster can answer read and write requests, no read-write splitting needs to be done. If all nodes in the cluster are synchronous, they automatically provide the higest possible quality of service which makes choosing a node easier. In those cases, the plugin may serve the application after some reconfiguration to disable certain features, such as built-in read-write splitting.
Using asynchronous clusters with single master Primary use case of the plugin. Follow the hints given in the descriptions of each feature.
Using asynchronous clusters with multiple masters This setup is currently unsupported. The plugin has no built-in functionality to direct certain writes to certain masters. It is considered to add table filtering to future versions. Table filter would allow restricting both read and writes to certain slaves and masters based on the database/schema and table used by a statement. A table filtering feature is prepared in the plugins source code. However, it is instable and must not be used. Bug reports on table filtering will be rejected. Using synchronous clusters such as MySQL Cluster MySQL Cluster is a synchronous cluster solution. All cluster nodes accept read and write requests. In the context of the plugin, all nodes shall be considered as masters. Use the load balancing and fail over features only.
Disabling built-in read-write splitting.
Configure masters only.
|
|