1. TCP队头阻塞 TCP数据包是有序传输,中间一个数据包丢失,会等待该数据包重传,造成后面的数据包的阻塞。 2. HTTP队头阻塞 http队头阻塞和TCP队头阻塞完全不是一回事。 http1.x采用长连接(Connection:keep-alive),可以在一个TCP请求上,发送多个http请 ...
分类:
Web程序 时间:
2020-04-18 12:02:18
阅读次数:
241
问题: 在安装macOS上面安装brew的时候一直报 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused 终于在网上找到大神的解决办法,贴到下面供大家参考。 解决: 使用 sudo ...
分类:
Web程序 时间:
2020-04-18 09:30:02
阅读次数:
614
RESET is a flag in TCP packets to indicate that the conection is not longer working. So, if any of the two participants in a TCP connection send a pac ...
分类:
其他好文 时间:
2020-04-18 09:16:18
阅读次数:
74
Git troubleshooting 解决方案 1. 版本撤销及恢复 问题描述:当我们使用了 命令,将工作区的提交穿越到你指定的commit里,这个时候你会发现git log根本没有记录这之后的提交记录,此时如果想回到穿越前的状态,就缺失了相应的提交记录信息 解决办法:Git提供了一个命令 用来记 ...
分类:
其他好文 时间:
2020-04-18 00:03:20
阅读次数:
104
git fetch --all git reset --hard origin/master ...
分类:
其他好文 时间:
2020-04-17 20:27:11
阅读次数:
59
一:常用命令 git add 添加到缓存区 git commit -am " " 添加到本地仓库 git pull 从远程拉去代码到本地仓库 git push 推送代码到远程仓库. 二:图解 git reset --hard ...
分类:
其他好文 时间:
2020-04-17 15:49:32
阅读次数:
50
input{jdbc{jdbc_driver_library=>"/Users/logstash/mysql-connector-java-5.1.39-bin.jar"jdbc_driver_class=>"com.mysql.jdbc.Driver"jdbc_connection_string= ...
分类:
数据库 时间:
2020-04-16 19:27:20
阅读次数:
300
Car model and year: GT - 2006 Nissan 350Z RevUp DE Note : GT model of 350z has a traction control whereas the base models don't (apparently). So, if y ...
分类:
编程语言 时间:
2020-04-16 15:10:21
阅读次数:
152
迁移postgres数据库的时候,有时候会出现序列与数据库值不匹配的现象.参考了https://stackoverflow.com/questions/244243/how-to-reset-postgres-primary-key-sequence-when-it-falls-out-of-syn ...
分类:
其他好文 时间:
2020-04-15 01:00:23
阅读次数:
91
2020 04 13 23:51:29,949 [Druid ConnectionPool Create 884713463] ERROR [com.alibaba.druid.pool.DruidDataSource] create connection error, url: jdbc:mysq ...
分类:
其他好文 时间:
2020-04-14 00:38:21
阅读次数:
67