zoukankan      html  css  js  c++  java
  • 环境安装备忘录 Redis redis-common.conf

    #GENERAL
    daemonize no
    tcp-backlog 511
    timeout 0
    tcp-keepalive 0
    loglevel notice
    databases 16
    dir /var/redis/data
    slave-serve-stale-data yes
    #slave只读
    slave-read-only yes
    #not use default
    repl-disable-tcp-nodelay yes
    slave-priority 100
    #打开aof持久化
    appendonly yes
    #每秒一次aof写
    appendfsync everysec
    #关闭在aof rewrite的时候对新的写操作进行fsync
    no-appendfsync-on-rewrite yes
    auto-aof-rewrite-min-size 64mb
    lua-time-limit 5000
    #打开redis集群
    cluster-enabled yes
    #节点互连超时的阀值
    cluster-node-timeout 15000
    cluster-migration-barrier 1
    slowlog-log-slower-than 10000
    slowlog-max-len 128
    notify-keyspace-events ""
    hash-max-ziplist-entries 512
    hash-max-ziplist-value 64
    list-max-ziplist-entries 512
    list-max-ziplist-value 64
    set-max-intset-entries 512
    zset-max-ziplist-entries 128
    zset-max-ziplist-value 64
    activerehashing yes
    client-output-buffer-limit normal 0 0 0
    client-output-buffer-limit slave 256mb 64mb 60
    client-output-buffer-limit pubsub 32mb 8mb 60
    hz 10
    aof-rewrite-incremental-fsync yes

  • 相关阅读:
    c# 集合运算
    Nuxt
    引入js,不共享变量
    sourcetree将存在的本地项目提交到远程仓库
    c#DateTime与unix时间戳互相转换
    IfcBoundingBox
    IfcBooleanResult
    IfcAnnotationFillArea
    IfcGeometricRepresentationItem
    IfcRepresentationItem
  • 原文地址:https://www.cnblogs.com/kaye0110/p/5069762.html
Copyright © 2011-2022 走看看