在一些网络服务的系统中,Redis 的性能,可能是比 MySQL 等硬盘数据库的性能更重要的课题。比如微博,把热点微博[1],最新的用户关系,都存储在 Redis 中,大量的查询击中 Redis,而不走 MySQL。
?
那么,针对 Redis 服务,我们能做哪些性能优化呢?或者说,应该避免哪些性能浪费呢?
分类:
其他好文 时间:
2020-12-17 12:21:09
阅读次数:
2
aapt2compile资源(编译res目录下的资源)--dir编译的目录-o编译生成的压缩包--legacy将使用早期版本的AAPT时允许的错误视为警告aapt2compile-ooutRes.zip--dirres--legacyaapt2compile(目标资源文件编译)编译出对应flat文件aapt2compileres/values/string.xml-ocompiled/aapt2l
分类:
其他好文 时间:
2020-12-16 13:07:09
阅读次数:
8
import time from selenium.webdriver import Chrome from selenium.webdriver.chrome.options import Options chrome_options = Options() chrome_options.add_ ...
分类:
其他好文 时间:
2020-12-16 12:39:03
阅读次数:
7
Flink 集群搭建(基于flink on YARN模式) Flink HA高可以集群搭建(生产环境Flink Cluster On YARN) ...
分类:
其他好文 时间:
2020-12-14 13:50:58
阅读次数:
7
Codeforces Global Round #12 link C. Errich-Tac-Toe 考虑对所有格子按 \((i + j)\bmod 3\) 分类。 选取两个类,一类中 O 全部变成 X,一类中 X 全部变成 O。 考虑连续的三个棋子,必定被包含在 $3$ 个类中,且不会出现连续的 ...
分类:
其他好文 时间:
2020-12-14 13:49:47
阅读次数:
6
双smart-link组组网及说明采用双smart-link组,实现两路冗余及流量负载均衡。配置步骤在SW1创建两个smart-link组需要两个保护VLAN,这里提前规划,VLAN10作为smart-link组1的保护VLAN,VLAN20作为smart-link组2的保护VLAN配置关键点配置过程:SW1:[H3C]sysnameSW1[SW1]vl10[SW1-vlan10]qu[SW1]v
分类:
其他好文 时间:
2020-12-14 13:00:14
阅读次数:
3
硬链接(hard)In硬链接本质上就给一个文件起一个新的名称,实质是同一个文件硬链接特性创建硬链接会在对应的目录中增加额外的记录项以引用文件对应于同一文件系统上一个物理文件每个目录引用相同的inode号创建时链接数递增删除文件时:rm命令递减数的链接,文件要存在,至少有个一个链接数,当链接数为零时,该文件被删除不能跨越驱动器或分区不支持对目录创建硬链接格式:lnfilename[linkname]
分类:
系统相关 时间:
2020-12-11 12:31:22
阅读次数:
7
博客:https://www.zhihu.com/question/365093004/answer/1538570153 基金对比工具: https://link.zhihu.com/?target=https%3A//www.howbuy.com/fundtool/compare.htm 极简投 ...
分类:
其他好文 时间:
2020-12-10 11:38:02
阅读次数:
10
坑:使用Centos创建软连接时提示错:ln-s创建符号链接的时候一定要使用绝对路径,[cqs@centos7boost_1_59_0]$sudoln-sboost/usr/local/boost解决方案:[cqs@centos7boost_1_59_0]$pwd/home/cqs/soft/boost/boost_1_59_0[cqs@centos7boost_1_59_0]$sudoln-s/
分类:
系统相关 时间:
2020-12-10 11:33:16
阅读次数:
16
Difficulty: Medium Related Topics: Array, Backtracking Link: https://leetcode.com/problems/word-search/ Description Given an m x n board and a word, f ...
分类:
其他好文 时间:
2020-12-10 11:30:28
阅读次数:
11