Giter VIP home page Giter VIP logo

Comments (3)

BG2BKK avatar BG2BKK commented on August 16, 2024

1 请问为什么会只写到一个redis主库中?在我们的设计中,主库只负责被管理机读写,按理来说负载很小不会出现故障;如果主库挂掉,从库中将保留最后一次同步的结果,仍能继续对外服务,只是不能再更改分流策略

2 lua cache失效后,回源到redis时有锁 lua resty lock 或者信号量来限制对redis的压力,此时会有性能衰减

from abtestinggateway.

fankeke avatar fankeke commented on August 16, 2024

1 是这样的,管理机的流量很小,但是需要考虑到单点的问题,所以部署了多个管理机,但是不知道是不是每个管理机都配置一个redis,因为和管理机对接的redis应该都是主库,而redis集群中只能有一个主库。所以现在的问题就是,如何让多个管理机接入redis集群?

2,lua cache失效后,请求被阻塞在那里,这样性能下降。有什么办法可以解决这个性能下降的问题?
。。。

from abtestinggateway.

fankeke avatar fankeke commented on August 16, 2024

@BG2BKK 是否可以将管理机和业务机全部接入redis集群?用twemproxy或codis做redis集群代理。有尝试过么?

from abtestinggateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.