快照(snapshot)是最简单的压缩方式。在快照中,全部的当前系统状态都被写入到快照中,存储到持久化的存储中,然后在那个时刻之前的全部日志都可以被丢弃。像Redis这样的KV系统,系统的当前状态就是当前所有key的值及过期时间。 ...
分类:
编程语言 时间:
2020-10-26 11:23:07
阅读次数:
32
(Buying Guide)Nexiq USB Link 1 or 2? WiFi or Bluetooth? Nexiq 1 or Nexiq 2? Nexiq 1 is discontinued. no more updates but for most people it will still ...
分类:
其他好文 时间:
2020-10-22 22:46:03
阅读次数:
26
项目地址 git clone https://gitee.com/kendoziyu/code-servlet-parent 该目录下的 javac-servlet 表示的是本文的项目。 基于web.xml开发步骤 下载、安装 Tomcat。 编写一个继承 HTTPServlet 的 Java 类M ...
分类:
其他好文 时间:
2020-10-21 21:09:10
阅读次数:
25
1.页面直接查看结果 2.用命令行测试case,会有截图和video保存 a.在cypress case目录下(与cypress.json同级)添加package.json文件,文件内容: { "scripts": { "cypress:open": "cypress open", "cypress ...
分类:
其他好文 时间:
2020-10-21 20:47:30
阅读次数:
23
远程仓库通过git init初始化了一个项目,没有clone到本地,本地新建了一个项目,关联本地项目和远程仓库(参见IDEA新建本地项目关联远程git仓库 )后git push报错: wulf@wulf00 MINGW64 /e/workspace/开源/spring-cloud-gateway ( ...
分类:
其他好文 时间:
2020-10-19 22:57:24
阅读次数:
26
1 <project xmlns="http://maven.apache.org/POM/4.0.0" 2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 xsi:schemaLocation="http://maven.apache ...
分类:
其他好文 时间:
2020-10-18 10:03:44
阅读次数:
14
1、系统版本、java环境查看 [root@linuxprobe home]# cat /etc/system-release ## 查看系统版本 Red Hat Enterprise Linux release 8.0 (Ootpa) [root@linuxprobe home]# java ## ...
分类:
编程语言 时间:
2020-10-16 11:28:50
阅读次数:
46
yum install -y gitgit clone https://github.com/alexazhou/VeryNginx.gitcd VeryNginxpython install.py install配置文件位置/opt/verynginx/openresty/nginx/conf/n ...
分类:
其他好文 时间:
2020-10-13 17:10:48
阅读次数:
17
Redis问题 MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are dis ...
分类:
数据库 时间:
2020-10-13 17:08:07
阅读次数:
33
5. 最长回文子串 思路一:中心扩展法 参考:https://leetcode-cn.com/problems/palindromic-substrings/solution/liang-dao-hui-wen-zi-chuan-de-jie-fa-xiang-jie-zho/ 选定中心点后,同时判 ...
分类:
其他好文 时间:
2020-10-09 21:32:45
阅读次数:
30