- 博客(4)
- 资源 (11)
- 收藏
- 关注
转载 nginx负载均衡的5种策略(转载)
nginx可以根据客户端IP进行负载均衡,在upstream里设置ip_hash,就可以针对同一个C类地址段中的客户端选择同一个后端服务器,除非那个后端服务器宕了才会换一个。 nginx的upstream目前支持的5种方式的分配 1、轮询(默认) 每个请求按时间顺序逐一分配到不同的后端服务器,如果后端服务器down掉,能自动剔除。 upstream backserver {
2017-12-14 14:32:36 127
原创 centos 最小化安装后网络启用和主机名称修改
最小化安装centos 默认网络不开启 输入ip addr 查看 使用的是什么网卡,比如ifcfg-ens33 su root 切换root用户 vi /etc/sysconfig/network-script/ifcfg-ens33 将ONBOOT=yes 保存退出:wq reboot 或者 systemctl restart network 或者
2017-12-06 23:40:36 348
原创 hadoop 集群系列 一:Linux 安装JDK
1:上传JDK包,使用XFTP 2: 查询内置jdk 版本 rpm -qa|grep jdk 3.卸载内置jdk sudo rpm -e --nodeps java-1.8.0-openjdk-headless-1.8.0.131-11.b12.el7.x86_64 java-1.8.0-openjdk-1.8.0.131-11.b12.el7.x86_64
2017-12-03 16:41:49 457
原创 Hbase 相关概念
HRegionServer HRegionServer 内部管理了一系列的HRegion 对象,每个HRegion对应了 table 中的一个region,HRegion中由多哦个HStore组成,每个HStore对应 了table中的一个column family,可以看出每个columnfamily 其实就是一个集中的 存储单元,因此最好将具备共同IO特性的column放在一个
2017-12-03 13:15:59 257
Garbage-First LSM 论文
2019-06-13
spring 5 , Spring Boot 2.0,Spring cloud
2018-12-05
Linux Shell脚本攻略(第2版)
2018-11-13
kafka-definitive-guide pdf
2018-11-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人