对于业内来说,基本都在围绕主从切换的高可用方案:
http://www.10tiao.com/html/175/201509/210974337/1.html
https://www.jianshu.com/p/ef183d0a9213
https://my.oschina.net/Kenyon/blog/98217
一主多从实现读写分离,完全依赖第三方激情软件的pgpool:
http://www.bkjia.com/Javascript/1188773.html
https://www.jianshu.com/p/77f07af6ca4b
一主一从实现读写分离:
https://www.cnblogs.com/yjf512/p/4499547.html
我想到的一主多从,丛库依靠HAProxy多负载均衡,暴露给开发的就两个IP,写IP和读IP,有业务进行控制:
https://my.oschina.net/Kenyon/blog/664102
https://cloud.tencent.com/developer/article/1026385