SZ-ORM RW — Read-Write Splitting
Provides master/slave read-write splitting routing, supporting round-robin, random, and least-connections load balancing strategies. Write requests are routed to master, read requests are distributed across the slave cluster.
Main Types
- [
ReadWriteRouter] — Read-write splitting router - [
LoadBalanceStrategy] — Load balancing strategy - [
HealthChecker] — Health check and failover - [
WeightedSlave] — Weighted slave configuration - [
ReadRationing] — Read-write ratio control - [
LatencyStats] — Latency statistics