<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[shimeath_rafael的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/shimeath_rafael</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; shimeath_rafael]]></copyright><item><title><![CDATA[多版本同时维护的 Bug 修复源代码保存方案]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/139181735</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/139181735</guid><author>shimeath_rafael</author><pubDate>Sun, 12 May 2024 15:51:00 +0800</pubDate><description><![CDATA[问题描述
在日常维护系统的过程中，我们经常需要修复他人提交的 Bug(因为自己写的都是 feature 嘛)。对于单个线上版本的项目，我们可以轻松地创建一个 bug 修复分支，修复完成后再将其合并到主分支即可。
然而，当系统同时存在多个线上版本时，比如 V1.0.1、V1.0.2、V1.0.3、V1.1.0 等，或者需要针对特定版本进行定制开发时，按照原有的分支策略将导致分支数量激增，管理繁琐。...]]></description><category></category></item><item><title><![CDATA[线程、线程池以及CompletableFuture组合式异步编程]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/112058114</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/112058114</guid><author>shimeath_rafael</author><pubDate>Thu, 31 Dec 2020 23:35:00 +0800</pubDate><description><![CDATA[一、创建线程的三种常见方式
1、继承Thread类

创建线程类，继承Thread
new Thread().start()的方式启动线程

public static void main(String[] args) {
    System.out.println("线程" + Thread.currentThread().getName() + "开始执行");
    new T...]]></description><category></category></item><item><title><![CDATA[ElasticSearch基础语法]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/112058113</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/112058113</guid><author>shimeath_rafael</author><pubDate>Thu, 31 Dec 2020 21:46:00 +0800</pubDate><description><![CDATA[一、elasticsearch安装
1、在docker安装elasticsearch

拉取镜像

$ docker pull elasticsearch:7.4.2 # 拉取elasticsearch
$ docker pull kibana:4.7.2		  # 拉取kibana，可视化工具

基本配置

$ mkdir -p /mydata/elasticsearch/config...]]></description><category></category></item><item><title><![CDATA[Linux学习--网络、进程、服务、软件管理]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107874005</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107874005</guid><author>shimeath_rafael</author><pubDate>Fri, 07 Aug 2020 22:30:00 +0800</pubDate><description><![CDATA[Linux入门--基础命令
Linux入门--权限管理、任务调度、磁盘管理
六、网络配置
网卡配置文件在/etc/sysconfig/network-scripts/ifcfg-ens33

netstat [-anp]					# 查看系统网络状态
								# -a：显示所有连线中的Socket；
								# -n：直接使用ip地址，而不通过域名服务器；
							...]]></description><category></category></item><item><title><![CDATA[Linux入门--权限管理、任务调度、磁盘管理]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107874004</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107874004</guid><author>shimeath_rafael</author><pubDate>Thu, 06 Aug 2020 23:52:00 +0800</pubDate><description><![CDATA[Linux入门--基础命令
三、权限相关
3.1、基本命令
chown &lt;user&gt;[:&lt;group&gt;] &lt;filename&gt;	#修改文件的所有者和所属组

chgrp &lt;组名&gt; &lt;文件名&gt;			# 修改文件所在组

chmod u=rwx,grw,o+x &lt;filename&gt;	# 修改权限
chmod 777 &l...]]></description><category></category></item><item><title><![CDATA[Linux入门--基础命令]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107829992</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107829992</guid><author>shimeath_rafael</author><pubDate>Wed, 05 Aug 2020 22:34:00 +0800</pubDate><description><![CDATA[一、Linux入门
1.1、Linux目录结构及含义

/bin 【重点】(/usr/bin、/usr/local/bin)

是Binary的缩写，这个目录存放着最经常使用的命令


/sbin (/usr/sbin、/usr/local/sbin)

s就是Super User的意思，这里存放的是系统管理员使用的系统管理程序。


/home 【重点】

存放普通用户的主目录， 在L...]]></description><category></category></item><item><title><![CDATA[MySQL优化--MVCC]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107805763</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107805763</guid><author>shimeath_rafael</author><pubDate>Tue, 04 Aug 2020 23:51:00 +0800</pubDate><description><![CDATA[MySQL优化--概述以及索引优化分析
MySQL优化--查询分析工具以及各种锁
七、MVCC
7.1、必备知识
7.1.1、什么是MVCC

多版本并发控制(Multiversion concurrency control， MCC 或 MVCC)，是数据库管理系统常用的一种并发控制，也用于程序设计语言实现事务内存。

mvcc在MySQL的InnoDB引擎中的实现主要是为了提高并发性...]]></description><category></category></item><item><title><![CDATA[MySQL优化--查询分析工具以及各种锁]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107777936</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107777936</guid><author>shimeath_rafael</author><pubDate>Mon, 03 Aug 2020 23:09:00 +0800</pubDate><description><![CDATA[MySQL优化--概述以及索引优化分析
三、查询截取分析
3.1、查询分析方法


观察，至少跑1天，看看生产的慢SQL情况。


开启慢查询日志，设置阈值，比如超过5秒钟的就是慢SQL，并将它抓取出来。


explain+慢SQL分析


show profile


运维经理 or DBA，进行SQL数据库服务器的参数调优。


==总结


慢查询的开启并捕获


explain...]]></description><category></category></item><item><title><![CDATA[MySQL优化--概述以及索引优化分析]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107725172</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107725172</guid><author>shimeath_rafael</author><pubDate>Fri, 31 Jul 2020 23:57:00 +0800</pubDate><description><![CDATA[一、MySQL概述
1.1、MySQL文件含义
通过如下命令查看
show variables like '%dir%';

MySQL文件位置及含义



名称
值
备注




basedir
/usr/
安装路径


character_sets_dir
/usr/share/mysql-8.0/charsets/
保存字符集目录


datadir
/var/lib/mysql/...]]></description><category></category></item><item><title><![CDATA[MySQL安装教程]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107725171</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107725171</guid><author>shimeath_rafael</author><pubDate>Fri, 31 Jul 2020 16:09:00 +0800</pubDate><description><![CDATA[一、安装包
MySQL官网下载
下载客户端和服务端，有rpm包和tar.gz两种
二、安装
可能与mariadb有冲突
yum -y remove mariadb-libs.x86_64

安装rpm
yum -y install mysql-XXXX.rpm
解压tar.gz
tar -xvf mysql-XXXX.tar.gz

三、启动服务
systemctl start mysq...]]></description><category></category></item><item><title><![CDATA[JAVA程序员必须要学会的网络知识]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107704955</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107704955</guid><author>shimeath_rafael</author><pubDate>Thu, 30 Jul 2020 17:18:00 +0800</pubDate><description><![CDATA[一、http协议
1.1、HTTP报文格式

1.2、HTTP请求报文方法



方法（操作）
意义




OPTION
请求一些选项的信息


GET
请求读取由 URL所标志的信息


HEAD
请求读取由 URL所标志的信息的首部


POST
给服务器添加信息（例如，注释）


PUT
在指明的 URL下存储一个文档


DELETE
删除指明的 URL所标志的资源


TRA...]]></description><category></category></item><item><title><![CDATA[计算机网络学习--网络层]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107704951</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107704951</guid><author>shimeath_rafael</author><pubDate>Thu, 30 Jul 2020 14:50:00 +0800</pubDate><description><![CDATA[第一章 概述
第二章 物理层
第三章 数据链路层
第四章 网络层
第五章 传输层
第六章 应用层
第四章 网络层
4.1、网络层提供两种服务
虚电路连接

面向连接的通信方式
建立虚电路(Virtual Circuit)，以保证双方通信所需的一切网络资源
网络层向上只提供简单灵活的、无连接的、尽最大努力交付的数据报服务


数据报服务




对比的方面
虚电路服务
数据报服务




...]]></description><category></category></item><item><title><![CDATA[计算机网络学习--传输层]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107704953</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107704953</guid><author>shimeath_rafael</author><pubDate>Thu, 30 Jul 2020 14:48:00 +0800</pubDate><description><![CDATA[第一章 概述
第二章 物理层
第三章 数据链路层
第四章 网络层
第五章 传输层
第六章 应用层
第五章 传输层
5.1、传输层协议概述
运输层向它上面的应用层提供通信服务它属于面向通信部分的最高层，同时也是用户功能中的最低层
为应用进程之间提供端到端的逻辑通信
TCP/IP 的传输层有两个不同的协议：
(1) 用户数据报协议 UDP        (User Datagram Prot...]]></description><category></category></item><item><title><![CDATA[计算机网络学习--应用层]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107704954</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107704954</guid><author>shimeath_rafael</author><pubDate>Thu, 30 Jul 2020 14:46:00 +0800</pubDate><description><![CDATA[第一章 概述
第二章 物理层
第三章 数据链路层
第四章 网络层
第五章 传输层
第六章 应用层
第六章 应用层

6.1、域名系统DNS
因特网采用层次结构的命名树作为主机的名字，并使用分布式的域名系统 DNS
一个服务器所负责管辖的（或有权限的）范围叫做区(zone)
每一个区设置相应的权限域名服务器，用来保存该区中的所有主机的域名到IP地址的映射
域名解析过程：
主机向本地域名服务...]]></description><category></category></item><item><title><![CDATA[计算机网络学习--数据链路层]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107704952</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107704952</guid><author>shimeath_rafael</author><pubDate>Thu, 30 Jul 2020 14:45:00 +0800</pubDate><description><![CDATA[第一章 概述
第二章 物理层
第三章 数据链路层
第四章 网络层
第五章 传输层
第六章 应用层
第三章 数据链路层
数据链路层使用的信道主要有以下两种类型：


点对点信道。这种信道使用一对一的点对点通信方式。


广播信道。这种信道使用一对多的广播通信方式，因此过程比较复杂。广播信道上连接的主机很多，因此必须使用专用的共享信道协议来协调这些主机的数据发


3.1、点对点信道的数据链...]]></description><category></category></item><item><title><![CDATA[计算机网络学习--物理层]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107704950</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107704950</guid><author>shimeath_rafael</author><pubDate>Thu, 30 Jul 2020 14:44:00 +0800</pubDate><description><![CDATA[第一章 概述
第二章 物理层
第三章 数据链路层
第四章 网络层
第五章 传输层
第六章 应用层
第二章  物理层
2.1、基本概念

机械特性    指明接口所用接线器的形状和尺寸、引线数目和排列、固定和锁定装置等等。
电气特性    指明在接口电缆的各条线上出现的电压的范围。
功能特性    指明某条线上出现的某一电平的电压表示何种意义。
过程特性    指明对于不同功能的各种可能事...]]></description><category></category></item><item><title><![CDATA[计算机网络学习--概述]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107704949</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107704949</guid><author>shimeath_rafael</author><pubDate>Mon, 27 Jul 2020 20:38:00 +0800</pubDate><description><![CDATA[第一章 概述
第二章 物理层
第三章 数据链路层
第四章 网络层
第五章 传输层
第六章 应用层
第一章 概述
1.1、网络的网络


网络(network)由若干结点(node)和连接这些结点的链路(link)组成。
互联网是“网络的网络”(network of networks)
连接在因特网上的计算机都称为主机(host)


1.2、网络与因特网

网络把许多计算机连接在一起。
...]]></description><category></category></item><item><title><![CDATA[Java环境配置]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107552401</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107552401</guid><author>shimeath_rafael</author><pubDate>Thu, 23 Jul 2020 22:55:00 +0800</pubDate><description><![CDATA[一、安装jdk1.8
1.1、准备工作
在官网下载安装包，双击安装
1.2、设置环境变量

我的电脑-&gt;属性-&gt;高级系统设置-&gt;高级-&gt;环境变量


1.3、配置JAVA_HOME系统变量
C:\Program Files\Java\jdk1.8.0_251即为jdk安装路径

1.4、配置CLASSPATH变量
.;%JAVA_HOME%\lib;%JAVA_H...]]></description><category></category></item><item><title><![CDATA[Java8新特性]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107527795</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107527795</guid><author>shimeath_rafael</author><pubDate>Wed, 22 Jul 2020 21:42:00 +0800</pubDate><description><![CDATA[Java8新特性
一、接口的默认方法
在接口中新增了default方法和static方法，这两种方法可以有方法体
1.1、static方法

接口中的static方法不能被继承，也不能被实现类调用，只能被自身调用

示例代码：
static void staticMethod(){
    System.out.println("staticMethod方法");
}
1.2、defau...]]></description><category></category></item><item><title><![CDATA[线程池基础]]></title><link>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107503523</link><guid>https://blog.youkuaiyun.com/shimeath_rafael/article/details/107503523</guid><author>shimeath_rafael</author><pubDate>Tue, 21 Jul 2020 22:45:00 +0800</pubDate><description><![CDATA[一、线程池基础

线程池：3大方法、7大参数、4种拒绝策略

1. 为什么会出现池化技术
Java中的池大概有：线程池，连接池，内存池，对象池等。
创建、销毁这种动作十分浪费资源，因此可以事先准备好一部分资源，谁要用就来直接取，取完了还回来，这就是池化技术。
线程池的优点:


降低资源的消耗


提高响应的速度


方便管理。


2.线程池的三大方法(不推荐)
//单个线程
Exec...]]></description><category></category></item></channel></rss>