监控指标性能指标:Performance内存指标:Memory基本活动指标:Basicactivity持久性指标:Persistence错误指标:Error性能指标:PerformanceNameDescriptionlatencyRedis响应一个请求的时间instantaneous_ops_per_sec平均每秒处理请求总数hirate(calculated)缓存命中率(计算出来的)内存指标:
分类:
其他好文 时间:
2020-06-12 10:31:40
阅读次数:
59
CEPH 14.2.9(nautilus)手动安装遇到的问题及解决方法 "Error ERANGE: pg_num 800 size 2 would mean 2112 total pgs, which exceeds max 750 (mon_max_pg_per_osd 250 * num_in ...
分类:
其他好文 时间:
2020-06-10 18:57:38
阅读次数:
199
1、定义分页类 class Pagination(object): ''' 分页类 参数: per_page:每页数量 total_data:总数目 cur_page:当前页。 用法:(flask,html中自定义css) py: page = int(request.args.get("page" ...
分类:
Web程序 时间:
2020-06-06 01:06:26
阅读次数:
65
1.Objects类 1.0 object.equals() 改写equals方法 public class Person/*extends Object*/ { private int age; private String name; public Person() { } public Per ...
分类:
编程语言 时间:
2020-06-05 12:52:50
阅读次数:
69
自定义分页器的拷贝及使用 分页器代码copy: class Pagination(object): def __init__(self, current_page, all_count, per_page_num=2, pager_count=11): """ 封装分页相关数据 :param cur ...
分类:
其他好文 时间:
2020-06-04 21:36:02
阅读次数:
76
void delay(int seconds) { clock_t start = clock(); clock_t lay = (clock_t)seconds * CLOCKS_PER_SEC; while ((clock()-start) < lay); } ...
分类:
编程语言 时间:
2020-06-04 16:48:49
阅读次数:
72
What is ulimit? It is a number of open file descriptors per process. They can all refer to the same file, or different files. It prevent single users ...
分类:
系统相关 时间:
2020-05-28 19:31:10
阅读次数:
83
题面 time limit per test: 2 seconds memory limit per test: 256 megabytes Description You've been in love with Coronavirus-chan for a long time, but you ...
分类:
其他好文 时间:
2020-05-27 12:11:53
阅读次数:
91
Misc /* Resize */ for (j = 0; j < dbs_per_call; j++) { tryResizeHashTables(resize_db % server.dbnum); resize_db++; } /* Rehash */ if (server.activereh ...
分类:
其他好文 时间:
2020-05-27 01:06:53
阅读次数:
83
题面 Time limit per test: 2 seconds Memory limit per test: 256 megabytes Description Consider all binary strings of length m ( 1≤m≤60 ). A binary string ...
分类:
其他好文 时间:
2020-05-25 12:26:07
阅读次数:
95