2019年10月17日

redis哨兵+主从

摘要: 什么是哨兵 Redis-Sentinel是用于管理Redis集群,该系统执行以下三个任务: 1监控(Monitoring): Sentinel会不断地检查你的主服务器和从服务器是否运作正常; 2提醒(Notification): 当被监控的某个Redis服务器出现问题时,Sentinel可以通过API向管理员或者其他应 用程序发送通知; 3自动故障迁移(Automaticfailover): 当一 阅读全文

posted @ 2019-10-17 10:39 运维工程师 阅读(166) 评论(0) 推荐(0) 编辑

redis哨兵+主从

摘要: 阅读全文

posted @ 2019-10-17 10:39 运维工程师 阅读(65) 评论(0) 推荐(0) 编辑

printf的格式说明符

摘要: 阅读全文

posted @ 2019-10-17 10:36 运维工程师 阅读(49) 评论(0) 推荐(0) 编辑

printf的格式说明符

摘要: %c 打印单个ASCII 字符 printf("The character is %c\n",x) 输出: The character is A %d 打印一个十进制数 printf("The boy is %d years old\n",y) 输出:The boy is 15 years old %e 打印数字的e 记数法形式 printf("z is %e\n",z) 打印: z... 阅读全文

posted @ 2019-10-17 10:35 运维工程师 阅读(605) 评论(0) 推荐(0) 编辑

导航