Giter Site home page Giter Site logo

Comments (2)

Ahoo-Wang avatar Ahoo-Wang commented on May 22, 2024
  • 当前的 machine_id_distribute.lua 脚本是符合 Redis 官方集群模式 KEY 约定的(即 CosId 保证了所有脚本操作的 KEY 都在同一个 Slot)。
    image

  • 如果为了符合 阿里云的云产品 Redis 约定,而修改 LUA 传递 KEY 的方式,值得讨论。

    • 优势:阿里云的云产品 Redis 用户无需更改集群配置。
    • 劣势:KEY 的构造放到 Client 端,多余的KEY导致网络传输成本的增加。

from cosid.

qinkangdeid avatar qinkangdeid commented on May 22, 2024

嗯嗯(^o^)/ 已经通过通过控制台将script_check_enable修改为0 解除了校验限制,目前使用暂未遇到问题,会继续选择使用观察下。经发现在使用redisson的某些api也会出现此类问题,也是需要做校验解除。

from cosid.

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.