-
Notifications
You must be signed in to change notification settings - Fork 271
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
通过influx-proxy数据读写分离,如何实现? #87
Comments
您说的读写分离是什么意思? |
REDIS中配置一个表能对应多个分组轮询吗? REDIS 的库(0-15)能做配置选择吗 |
我不大确定您说的表是指什么。一个或多个measurement可以映射到多个数据库,写入时这些库会同时写入,读取时会随机选中一个。redis的库是golang的redis连接配置问题,修改配置选项应该就可以做到。 |
同时写入2个库,假如1个库网络 offline或者机器宕机,过段时间修复好 。请问中间数据一般怎么补齐比较好? |
一般来说,未写入数据会缓存在本地,等机器上线后会自动开始提交追平。所以注意一个副作用——如果机器离线很长时间,记得先置于write only不要改回来。因为写追平和新数据会同步提交,导致机器一直承受压力。这时候如果直接变为readwrite,会导致部分查询异常缓慢。等机器数据追平并做完写入后,再改为readwrite。 |
明白了。谢谢 |
influx-proxy是否可做数据读写分离。
The text was updated successfully, but these errors were encountered: