Comments (3)
1 请问为什么会只写到一个redis主库中?在我们的设计中,主库只负责被管理机读写,按理来说负载很小不会出现故障;如果主库挂掉,从库中将保留最后一次同步的结果,仍能继续对外服务,只是不能再更改分流策略
2 lua cache失效后,回源到redis时有锁 lua resty lock 或者信号量来限制对redis的压力,此时会有性能衰减
from abtestinggateway.
1 是这样的,管理机的流量很小,但是需要考虑到单点的问题,所以部署了多个管理机,但是不知道是不是每个管理机都配置一个redis,因为和管理机对接的redis应该都是主库,而redis集群中只能有一个主库。所以现在的问题就是,如何让多个管理机接入redis集群?
2,lua cache失效后,请求被阻塞在那里,这样性能下降。有什么办法可以解决这个性能下降的问题?
。。。
from abtestinggateway.
@BG2BKK 是否可以将管理机和业务机全部接入redis集群?用twemproxy或codis做redis集群代理。有尝试过么?
from abtestinggateway.
Related Issues (20)
- 希望能做出集成的docker image HOT 1
- 【时好时坏】uidsuffix,新id第一次访问500,后面再刷新就正常 HOT 1
- 有编好的openresty-1.9.7.5吗? HOT 1
- 有好的交流群吗?有几个源码问题求解 HOT 1
- 如果并发量比较高,redis是否有压力?还有redis挂了的话,分流的使用受影响吗 HOT 3
- 修改了nginx和bate等文件的user为root了,lua文件增加了x权限,在curl时还是报404的错啊?
- 请问怎么调试正在运行的lua代码呢?各位都用的什么工具啊? HOT 2
- 开启编译缓存的情况下,会出现分流错误 HOT 2
- redis
- 这个项目还在维护么? HOT 1
- policy_set和policy_get规则不一致
- stop-all-nginx.sh无法停止abtesting.sh启动的进程?
- 为什么不增加一个基于cookie的分流策略呢?且为什么uid分流要求一定是数字 HOT 1
- bug:多级分流造成的 shdict key 名冲突 HOT 2
- 按照步骤部署完成后,运行
- 是不是已经停止维护了呢?
- How to use password to connect to redis HOT 2
- init_process_timer HOT 1
- 最近想使用这个网关,请问是用master好,还是v2.1好
- 如果要集成redis集群,那这个是否只需要替换redis相关就可以了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abtestinggateway.