Choosing a Router with MaxScale
This page is part of MariaDB's Documentation.
The parent of this page is: Routers
Topics on this page:
Overview
MariaDB MaxScale is a database proxy that extends the high availability, scalability, and security of MariaDB Server while at the same time simplifying application development by decoupling it from underlying database infrastructure. It includes multiple routers that each support different use cases.
Router | Description |
---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
Feature | Read/Write Split Router | Read Connection Router | Binlog Router | Kafka CDC Router |
---|---|---|---|---|
Supports deployments | Yes | Yes | Yes | Yes |
Supports deployments | Yes | Yes | Yes | No |
Supports deployments | Yes | Yes | No | No |
Performs query-based load balancing | Yes | No | No | No |
Routes client connections to multiple servers simultaneously | Yes | No | No | No |
Routes write queries to primary and read queries to replicas | Yes | No | No | No |
Automatically reconnects clients to the new primary after failover or switchover | Yes | No | No | No |
Automatically replays transactions on the new primary after failover or switchover | Yes | No | No | No |
Automatically retries failed queries | Yes | No | No | No |
Enforces causal reads to avoid reading stale data caused by slave lag | Yes | No | No | No |
Performs connection-based load balancing | No | Yes | No | No |
Routes client connections to configured server type | No | Yes | No | No |
Mitigates the effect of primary failures by acting as a Binlog Server | No | No | Yes | No |
Reduces bandwidth requirements of primary server in environments with many replica servers | No | No | Yes | No |
Replicates from MariaDB to a Kafka broker | No | No | No | Yes |