数据库读写分离

 

java代码:

http://blog.csdn.net/lifuxiangcaohui/article/details/7280202

mysql:

http://wenku.baidu.com/link?url=Gm3fYUEO_wrn_toJamKzMvR468uVE0dfIsaHPhkrNVjCHDypyei5uT0KpzzHcnCyh-riKpyuNaPPUM8pRdupUiX-h3RUo1fegd1wM8gQPVy

通过Amoeba来实现读写分离,也可以通过mysql proxy(比较麻烦)

http://blog.chinaunix.net/uid-20639775-id-154600.html

你可能感兴趣的:(读写分离)