GithubHelp home page GithubHelp logo

Comments (4)

wrizyy450 avatar wrizyy450 commented on May 24, 2024

20231030-163457

from tendis.

takenliu avatar takenliu commented on May 24, 2024

是的,2.5.0的问题在2.6.0里得到了修复。
参看版本日志:
http://tendis.cn/#/Tendisplus/整体介绍/releasenodes
具体是:
“优化主节点空转时cpu的消耗。之前主节点在没有请求时,cpu消耗大约0.2个核,优化后占用大约0.03个核。”

from tendis.

wrizyy450 avatar wrizyy450 commented on May 24, 2024

是的,2.5.0的问题在2.6.0里得到了修复。 参看版本日志: http://tendis.cn/#/Tendisplus/整体介绍/releasenodes 具体是: “优化主节点空转时cpu的消耗。之前主节点在没有请求时,cpu消耗大约0.2个核,优化后占用大约0.03个核。”

是整个master节点多了0.2个核的cpu消耗,还是每个主从同步增量推送线程多了0.2核的cpu消耗呢?我这边观察多个集群的master节点,单个主从同步增量推送线程都稳定消耗0.04个核心,2.5.0将incrPushThreadnum默认值由4改成了10,如果我想通过将该值改回4以降低cpu消耗,不知道在2.5.0版本会不会造成什么其他的影响呢?

from tendis.

raffertyyu avatar raffertyyu commented on May 24, 2024

这个线程主要是用来做主从数据同步的,如果设置的少了,可能会造成主从之间数据同步进度较慢,在负载较高的情况下容易出现从节点数据落后主节点数据过多,主节点如果发生崩溃等情况,可能丢失数据。
如果 CPU开销确实影响较大的话,建议升级到 2.6.0。如果维持在 2.5.0 降低这个线程数,可能会影响到主从数据同步。

from tendis.

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.