上一页 1 2 3 4 5 6 7 8 ··· 34 下一页
摘要: Channel Channel用来操作数据块,写入buffer或者从IO中读到buffer。 SocketChannel 创建 // 创建,并阻塞等待连接 SocketChannel sc = SocketChannel.open(new InetSocketAddress("abc.com",80 阅读全文
posted @ 2022-07-15 18:55 会飞的斧头 阅读(572) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/wuhuayangs/article/details/121628119 什么是索引?MySQL官方对索引的定义为:索引(Index)是帮助MySQL高效获取数据的数据结构。我们可以简单理解为:快速查找排好序的一种数据结构。MySQL索引主要有两种结 阅读全文
posted @ 2022-07-14 17:33 会飞的斧头 阅读(2504) 评论(0) 推荐(0) 编辑
摘要: 转自: https://www.cnblogs.com/wyzstudy/p/15548201.html 9.1. 直接内存概述 不是虚拟机运行时数据区的一部分,也不是《Java虚拟机规范》中定义的内存区域。直接内存是在Java堆外的、直接向系统申请的内存区间。来源于NIO,通过存在堆中的Direc 阅读全文
posted @ 2022-07-14 17:28 会飞的斧头 阅读(668) 评论(0) 推荐(0) 编辑
摘要: netty源码下载 https://netty.io/downloads.html netty源码编译问题 1、把不到 io.netty.util.collection 包下的类; 该包下的类是自动生成的,common/src/main/script和common/src/main/template 阅读全文
posted @ 2022-07-13 16:32 会飞的斧头 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 近期业务需要,把公司内windows机器上VisualSVN的数据,迁移到云端linux机器。 一、安装svn 1、安装svn yum install -y subversion 2、创建库 mkdir /root/data/svn/repos cd /root/data/svn/repos svn 阅读全文
posted @ 2022-06-24 17:48 会飞的斧头 阅读(530) 评论(0) 推荐(0) 编辑
摘要: 命令记录 704 pip install awscli 705 aws 706 aws --version 707 aws ecr get-login-password --region us-east-1 708 aws configure 723 aws s3 sync s3://game-as 阅读全文
posted @ 2022-06-15 11:57 会飞的斧头 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 如何把自己的 http 服务做成 https? 1、申请一个域名,如 ccygm-cn.chaohuoyy.com; 2、在域名解析控制台,把 ccygm-cn.chaohuoyy.com绑定自己的服务器 ip,记录类型为 A; 3、在阿里云控制台找到 『SSL 证书』=>『免费证书』=> 『证书申 阅读全文
posted @ 2022-06-03 15:42 会飞的斧头 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1、安装 docker Ubuntu使用 APT 安装docker 1.安装必要的一些系统工具 sudo apt-get update sudo apt-get -y install apt-transport-https ca-certificates curl software-properti 阅读全文
posted @ 2022-05-12 06:13 会飞的斧头 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 生成命令备份: 生成私钥 openssl genrsa -out me_private.pem 1024 生成公钥 openssl rsa -in me_private.pem -pubout -out me_public.pem 生成证书请求文件 openssl req -new -key me_ 阅读全文
posted @ 2022-05-04 21:24 会飞的斧头 阅读(4031) 评论(0) 推荐(0) 编辑
摘要: 集群的好处 高可用性:故障检测及迁移,多节点备份。 可伸缩性:新增数据库节点便利,方便扩容。 负载均衡:切换某服务访问某节点,分摊单个节点的数据库压力。 集群要考虑的风险 网络分裂:群集还可能由于网络故障而拆分为多个部分,每部分内的节点相互连接,但各部分之间的节点失去连接。 脑裂:导致数据库节点彼此 阅读全文
posted @ 2022-05-01 20:17 会飞的斧头 阅读(384) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 34 下一页