(3) Citus – Scale out Postgres
S1
Citus
Node #1
PostgreSQL
Primary
WAL logs
Monitoring Agents
(Auto node failover)
10.0.0.15
(Elastic IP)
Application
(Ruby, Pyhton,
Java, …)
EBS volume
S5
S7 S8
Shards (S1, S5, S7, S8)
Transparent to application
S2
Citus
Node #8
PostgreSQL
Primary
WAL logs
10.0.0.25
(Elastic IP)
EBS volume
S3
S4 S9
…….
PgBou
ncer
PgBou
ncer