Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

哥们能不能不新建表啊或者别用proxySQL #1

Open
justkuai opened this issue Feb 7, 2017 · 1 comment
Open

哥们能不能不新建表啊或者别用proxySQL #1

justkuai opened this issue Feb 7, 2017 · 1 comment

Comments

@justkuai
Copy link

justkuai commented Feb 7, 2017

  1. 这种fail-over本身并不频繁, 而且要是全down了, 你建的这张表就更新不了, 后来还得自己维护, 建议来个简化版本的, 记录到2个文件中
    文件1: 记录切换日志
    文件2: 就一行, 记录当前的primary-node
    或者就一个文件就行, 解析下最后一行的某段字符串是当前的primary-node

  2. proxySQL靠谱嘛, 反正我是不敢用啊, 相信lz也不敢用吧, mycat都有bug何况是这个

@ZzzCrazyPig
Copy link
Owner

@justkuai 谢谢指教!proxysql只是一种可行方案,至于靠谱不靠谱,还真没用到实际环境。开源的东西毕竟bug都挺多。那你的建议是不使用中间件,依赖其他工作做fail-over?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants