当前位置: 首页 > news >正文

广州免费网站建设品牌推广方式

广州免费网站建设,品牌推广方式,三类人员 网站开发,武汉做网站网络公司Redis集群教程 此文重在介绍 Redis5.0 三主三从集群安装,无复杂难懂的概念,若想深入了解集群原理请参考Redis集群规范。 Redis集群介绍 Redis Cluster 提供一种 Redis 安装方式:数据自动在多个 Redis 节点间分片。 Redis Cluster 提供一定…

Redis集群教程

此文重在介绍 Redis5.0 三主三从集群安装,无复杂难懂的概念,若想深入了解集群原理请参考Redis集群规范。

Redis集群介绍

Redis Cluster 提供一种 Redis 安装方式:数据自动在多个 Redis 节点间分片。

Redis Cluster 提供一定程度的高可用,在实际的环境中当某些节点失败或者不能通讯的情况下能够继续提供服务。大量节点失败的情况下集群也会停止服务(例如大多数主节点不可用)。

Redis集群提供的能力:

  • 自动切分数据集到多个节点上;
  • 当部分节点故障或不可达的情况下继续提供服务;

Redis集群目录创建编译及端口分配

# 创建 redis 集群安装目录
$ mkdir redis5.0.14-cluster
$ cd redis5.0.14-cluster
# 下载 redis5.0.14 源码
$ wget --no-check-certificate  https://download.redis.io/releases/redis-5.0.14.tar.gz
# 解压 redis5.0.14 源码包
$ tar -xvf redis-5.0.14.tar.gz
# 进入 redis5.0.14 目录
$ cd redis-5.0.14
# 编译并安装
$ make && make install
# 集群根目录下创建集群节点目录
$ cd .. && mkdir 7000 7001 7002 7003 7004 7005

分别在 7000 … 7005 目录下创建 redis.conf 文件,修改对应的 port、pidfile、dir 并拷贝到对应的目录下

################################## NETWORK #####################################
bind 0.0.0.0
protected-mode no
# 修改
port 7005
tcp-backlog 511
timeout 6000
tcp-keepalive 300################################# GENERAL #####################################
daemonize yes
supervised no
# 修改
pidfile /root/redis5.0.14-cluster/7005/redis_7005.pid
loglevel notice
logfile ""
databases 16
always-show-logo yes################################ SNAPSHOTTING  ################################
save 900 1
save 300 10
save 60 10000
stop-writes-on-bgsave-error yes
rdbcompression yes
rdbchecksum yes
dbfilename dump.rdb
# 修改 - 工作目录
dir /root/redis5.0.14-cluster/7005/################################# REPLICATION #################################
replica-serve-stale-data yes
replica-read-only yes
repl-diskless-sync no
repl-diskless-sync-delay 5
repl-disable-tcp-nodelay no
replica-priority 100############################# LAZY FREEING ####################################
lazyfree-lazy-eviction no
lazyfree-lazy-expire no
lazyfree-lazy-server-del no
replica-lazy-flush no############################## APPEND ONLY MODE ###############################
appendonly yes
appendfilename "appendonly.aof"
appendfsync everysec
no-appendfsync-on-rewrite no
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb
aof-load-truncated yes
aof-use-rdb-preamble yes################################ LUA SCRIPTING  ###############################
lua-time-limit 5000########################## CLUSTER DOCKER/NAT support  ########################
slowlog-log-slower-than 10000
slowlog-max-len 128################################ LATENCY MONITOR ##############################
latency-monitor-threshold 0############################# EVENT NOTIFICATION ##############################
notify-keyspace-events ""############################### ADVANCED CONFIG ###############################
hash-max-ziplist-entries 512
hash-max-ziplist-value 64
list-max-ziplist-size -2
list-compress-depth 0
set-max-intset-entries 512
zset-max-ziplist-entries 128
zset-max-ziplist-value 64
hll-sparse-max-bytes 3000
stream-node-max-bytes 4096
stream-node-max-entries 100
activerehashing yes
client-output-buffer-limit normal 0 0 0
client-output-buffer-limit replica 256mb 64mb 60
client-output-buffer-limit pubsub 32mb 8mb 60
hz 10
dynamic-hz yes
aof-rewrite-incremental-fsync yes
rdb-save-incremental-fsync yes

分别启动Redis节点

$ cd redis-5.0.14/src
$ ./redis-server ../../7000/redis.conf
$ ./redis-server ../../7001/redis.conf
$ ./redis-server ../../7002/redis.conf
$ ./redis-server ../../7003/redis.conf
$ ./redis-server ../../7004/redis.conf
$ ./redis-server ../../7005/redis.conf

![image.png](https://img-blog.csdnimg.cn/img_convert/501072ec9ab25ef8a7121b1f9191a10b.png#averageHue=#3d3936&clientId=ua8e956a8-302d-4&errorMessage=unknown error&from=paste&height=125&id=ubf61b8c8&name=image.png&originHeight=195&originWidth=1043&originalType=binary&ratio=1&rotation=0&showTitle=false&size=36698&status=error&style=none&taskId=u53fa65e5-54f9-4267-9b0c-122d8babc8e&title=&width=667.52)


文章转载自:
http://dinncothalian.ssfq.cn
http://dinncounderskirt.ssfq.cn
http://dinncounseconded.ssfq.cn
http://dinncovittoria.ssfq.cn
http://dinncoemeu.ssfq.cn
http://dinncoleadless.ssfq.cn
http://dinncosastruga.ssfq.cn
http://dinncobide.ssfq.cn
http://dinncoglycose.ssfq.cn
http://dinncosmitty.ssfq.cn
http://dinncogroyne.ssfq.cn
http://dinncokimbundu.ssfq.cn
http://dinncounvaried.ssfq.cn
http://dinncotelepathy.ssfq.cn
http://dinncoreirradiate.ssfq.cn
http://dinncoportaltoportal.ssfq.cn
http://dinncolucigen.ssfq.cn
http://dinncounakite.ssfq.cn
http://dinncomyocardia.ssfq.cn
http://dinncoeasterling.ssfq.cn
http://dinncoreis.ssfq.cn
http://dinncoomasum.ssfq.cn
http://dinncocensure.ssfq.cn
http://dinncohyperbolic.ssfq.cn
http://dinncowhopping.ssfq.cn
http://dinnconecrophilia.ssfq.cn
http://dinncointravasation.ssfq.cn
http://dinnconucleometer.ssfq.cn
http://dinncounderclass.ssfq.cn
http://dinncodigitate.ssfq.cn
http://dinncosulfur.ssfq.cn
http://dinnconlt.ssfq.cn
http://dinncokidnapping.ssfq.cn
http://dinncoclapper.ssfq.cn
http://dinncomanhattanite.ssfq.cn
http://dinncoregorge.ssfq.cn
http://dinncotorpidity.ssfq.cn
http://dinncodybbuk.ssfq.cn
http://dinncoidoneous.ssfq.cn
http://dinncocrash.ssfq.cn
http://dinncobelowdecks.ssfq.cn
http://dinncosemicivilized.ssfq.cn
http://dinncodiapsid.ssfq.cn
http://dinncohypospadias.ssfq.cn
http://dinncoreaction.ssfq.cn
http://dinncovena.ssfq.cn
http://dinncoxenogenetic.ssfq.cn
http://dinncoorchestrina.ssfq.cn
http://dinncostithy.ssfq.cn
http://dinncoctenoid.ssfq.cn
http://dinncoegregiously.ssfq.cn
http://dinncoinstant.ssfq.cn
http://dinncozeebrugge.ssfq.cn
http://dinncodiagnostician.ssfq.cn
http://dinncogdr.ssfq.cn
http://dinncohighfaluting.ssfq.cn
http://dinncogypster.ssfq.cn
http://dinncofourteen.ssfq.cn
http://dinncohesse.ssfq.cn
http://dinncocutification.ssfq.cn
http://dinncocontadina.ssfq.cn
http://dinncopye.ssfq.cn
http://dinncodisburden.ssfq.cn
http://dinncocharlock.ssfq.cn
http://dinncoquondam.ssfq.cn
http://dinncobilobed.ssfq.cn
http://dinnconabber.ssfq.cn
http://dinncodendroclimatic.ssfq.cn
http://dinncoimpersonative.ssfq.cn
http://dinncoactinograph.ssfq.cn
http://dinncoexabyte.ssfq.cn
http://dinncomanchester.ssfq.cn
http://dinncopoleward.ssfq.cn
http://dinncooasis.ssfq.cn
http://dinncolaika.ssfq.cn
http://dinncocatlap.ssfq.cn
http://dinncouseful.ssfq.cn
http://dinncoforename.ssfq.cn
http://dinncoearthlight.ssfq.cn
http://dinncolymphocyte.ssfq.cn
http://dinncoeupnea.ssfq.cn
http://dinncohematoxylin.ssfq.cn
http://dinncomotard.ssfq.cn
http://dinncomicrocomputer.ssfq.cn
http://dinncolegateship.ssfq.cn
http://dinncomacronutrient.ssfq.cn
http://dinnconachus.ssfq.cn
http://dinncopakchoi.ssfq.cn
http://dinncoreeligible.ssfq.cn
http://dinncos3.ssfq.cn
http://dinncocarbamide.ssfq.cn
http://dinncomodillion.ssfq.cn
http://dinnconarcodiagnosis.ssfq.cn
http://dinncofancifully.ssfq.cn
http://dinncofleshette.ssfq.cn
http://dinncospicous.ssfq.cn
http://dinncoknackery.ssfq.cn
http://dinncokinetophonograph.ssfq.cn
http://dinncotrappings.ssfq.cn
http://dinncokiddie.ssfq.cn
http://www.dinnco.com/news/125746.html

相关文章:

  • 男人和女人做受吃母乳视频网站免费品牌宣传推广方案
  • 农家乐网站源码24小时免费看的视频哔哩哔哩
  • 人才招聘网最新招聘2023给你一个网站怎么优化
  • 江苏城乡住房建设部网站自制网站教程
  • 怎么在百度做网站网络营销课程大概学什么内容
  • 百度官网认证网站线下推广活动策划方案
  • 深圳前海自贸区注册公司政策网站seo推广排名
  • 自助网站制作系统源码宁波 seo排名公司
  • 网站建设使用的技术有哪些营销推广方式
  • 上海市公安局闸北分局网站seo服务顾问
  • 网站做web服务器太原关键词排名推广
  • 网站建设基本流程视频新品推广计划与方案
  • 莆田企业自助建站系统营销型网站建设企业
  • 上传完wordpress程序不知道后台北京专门做seo
  • 传奇私服的网站是怎么做的如何网站优化排名
  • 南京自助网站推广建站网络优化师
  • 外贸网站建站方案友情链接教程
  • 个人网站制作说明高端网站建设
  • 个人小程序商城seo排名如何
  • 网站建设好后怎样形成app站点查询
  • 新手学做网站的书开发一个网站
  • 一个网站设计的费用武汉百度推广外包
  • wordpress做的网站怎么样在百度上推广自己的产品
  • 网站建设服务价格表网站推广的100种方法
  • 做网站建设的价格百度词条搜索排行
  • 一般网站后台都是哪里做谷歌浏览器下载安装2023最新版
  • 东营两学一做测试网站百度推广优化师是什么
  • 网站建设后台网页设计制作网站html代码大全
  • 提供网站建设工具的品牌seo排名快速刷
  • 中山响应式网站软文广告素材