上一页 1 ··· 95 96 97 98 99 100 101 102 103 ··· 234 下一页

2019年11月11日

LVS+KeepAlived+Nginx高可用实现方案

摘要: 文章目录概念LVSKeepAlived为什么要使用准备软件安装KeepAlived 安装源码安装yum安装服务启动、重启、关闭安装ipvsadmnginx安装防火墙(iptables)防火墙配置(方式一)防火墙配置(方式二)配置nginx服务器(>>这里很重要!很重要!很重要!!!<<)最后关键一步 阅读全文

posted @ 2019-11-11 22:18 ExplorerMan 阅读(614) 评论(0) 推荐(0)

golang 日志模块(log)

摘要: log 日志 log 模块可以自定义log 对象, 也可以使用log默认对象的日志方法 func New 创建log对象 func New(out io.Writer, prefix string, flag int) *Logger logs := log.New(os.Stdout, "lcoa 阅读全文

posted @ 2019-11-11 16:41 ExplorerMan 阅读(491) 评论(0) 推荐(0)

redcon, Redis兼容的服务器框架

摘要: 源代码名称:redcon 源代码网址:http://www.github.com/tidwall/redcon redcon源代码文档 redcon源代码下载 Git URL: 复制代码 git://www.github.com/tidwall/redcon.git Git Clone代码到本地: 阅读全文

posted @ 2019-11-11 16:15 ExplorerMan 阅读(563) 评论(0) 推荐(0)

Redcon:快速的Redis服务器Go实现

摘要: Fast Redis compatible server framework for Go Redcon is a custom Redis server framework for Go that is fast and simple to use. The reason for this lib 阅读全文

posted @ 2019-11-11 15:39 ExplorerMan 阅读(740) 评论(0) 推荐(0)

sshpass 指定密码远程 ssh 到服务器 或者 scp 发送文件到服务器

摘要: 不如Ubuntu, 默认yum install sshpass无法安装sshpass,需要用下面的步骤: cd /etc/yum.repos.d/wget http://download.opensuse.org/repositories/home:Strahlex/CentOS_CentOS-6/ 阅读全文

posted @ 2019-11-11 14:38 ExplorerMan 阅读(792) 评论(0) 推荐(0)

IPVS支持的调度算法

摘要: 对于后端的RS集群,LB是如何决策应该把消息调度到哪个RS节点呢?这是由负载均衡调度算法决定的。IPVS常用的调度算法有: 轮询(Round Robin) LB认为集群内每台RS都是相同的,会轮流进行调度分发。从数据统计上看,RR模式是调度最均衡的。 加权轮询(Weighted Round Robi 阅读全文

posted @ 2019-11-11 01:42 ExplorerMan 阅读(516) 评论(0) 推荐(0)

Ubuntu构建LVS+Keepalived高可用负载均衡集群【生产环境部署】

摘要: 1、环境说明: 系统版本:Ubuntu 14.04 LVS1物理IP:14.17.64.2 初始接管VIP:14.17.64.13 LVS2物理IP:14.17.64.3 初始接管VIP:14.17.64.14 真实web服务器IP:14.17.64.4-12 实现效果:去往14.17.64.13或 阅读全文

posted @ 2019-11-11 01:41 ExplorerMan 阅读(942) 评论(0) 推荐(0)

Ubuntu LVS DR模式生产环境部署

摘要: 1、环境说明 系统版本:ubuntu14.04 LVS服务器:14.17.64.3 真实服务器:14.17.64.4-12 VIP:14.17.64.13 部署目的:用户请求14.17.64.13的报文转发至14.17.64.4-12上进行负载均衡。2、安装LVS 由于LVS像iptables一样是 阅读全文

posted @ 2019-11-11 01:40 ExplorerMan 阅读(516) 评论(1) 推荐(0)

MongoDB 谨防索引seek的效率问题(转)

摘要: 目录 背景 初步分析 索引seeks的原因 优化思路 小结 目录 背景 初步分析 索引seeks的原因 优化思路 小结 背景 初步分析 索引seeks的原因 优化思路 小结 声明:本文同步发表于 MongoDB 中文社区,传送门:http://www.mongoing.com/archives/27 阅读全文

posted @ 2019-11-11 01:20 ExplorerMan 阅读(284) 评论(0) 推荐(0)

2019年11月10日

LVS的持久连接、会话保持和高可用介绍

摘要: 持续连接 session保存机制(会话机制) LVS的高可用 阅读全文

posted @ 2019-11-10 21:29 ExplorerMan 阅读(451) 评论(0) 推荐(0)

上一页 1 ··· 95 96 97 98 99 100 101 102 103 ··· 234 下一页

导航