摘要: # -*- coding: utf8 -*- import argparse #ArgumentParser.add_argument(name or flags…[, action][, nargs][, const][, default][, type][, choices][, required][, help][, metavar][, dest]) #action:默认是store... 阅读全文
posted @ 2018-02-09 15:31 wsjhk 阅读(797) 评论(0) 推荐(0) 编辑
摘要: MySQL读写分离(Atlas和MySQL-proxy) 一、阿里云使用Atlas从外网访问MySQL(RDS) (同样的方式修改配置文件可以实现代理也可以实现读写分离,具体看使用场景) 1.在跳板机上使用Atals中转访问RDS不会影响效率,不要认为使用Atals后连接数据库会慢,连接数会疯狂占用 阅读全文
posted @ 2018-02-09 10:15 wsjhk 阅读(532) 评论(0) 推荐(0) 编辑