Kavinli
Kavinli
Code style related issues were fixed in the latest commit. The next major task is to think about what kind of hotspot interface is needed in dragonfly, which is related...
I'd like to add this for expirable-lru, but I don't know why the code is commented out here, and there's no mention of the reason in the commit message https://github.com/hashicorp/golang-lru/blob/main/expirable/expirable_lru.go#L277
I'll be submitting a PR soon to fix the code changes mentioned above. I've been thinking about how to use heavykeeper in dragonfly for a while now, and here are...
1. some drawbacks of heavykeeper as a data structure. a. The value of hk_b in exponential-weakening decay is 1.08, which is referred to the example in the paper, but it...
2. other public cloud vendors handle hotspots. Take the hotspots handling capability of public cloud vendors that support redis protocol as an example, full metrics detection is supported in AWS...
3. how we should use heavykeeper results. So, I think what we need is real-time hotspot information display and some access optimization based on hotspot information. The former can support...
To summarize, a complete hotspot identification module may require at least three PRs. 1. support the basic heavykeeper structure. 2. support for hotspot identification, i.e., the logs show real-time hotspot...
@romange One question is do we need to use heavykeeper to support hotspot identification within 5s? The basic process is as follows. 1. heavykeeper is used for hotspot identification within...
但是可能一个poll中有多个fd的事件呀
> 编程语言:无论是学的 Python 还是 C 入的门,另外一门要补上。C 从语言特性上来说是最简单的”高级“语言,基本上没有什么语法糖或者无用的特性。Python 作为常用的”胶水“语言,有着丰富的标准库和三方库,掌握一门脚本语言在很多场景下都用得到。进一步的学习可以考虑 C++/Java,Go 和 Rust 发展也挺快的,可以适当了解,看个人兴趣。〔《C Primer Plus》、《C ++ Primer》、《C++ 程序设计语言(Bjarne的)》之类的都行,其他的也没关系,我入门就不是《C Primer Plus》,也不妨碍我 C 的底子还凑合。至于更高级的,建议有一定的代码量之后再阅读,比如《Effective Modern C++》之类的〕 这里双手双脚赞成,开始把C++“高深”的书看那么多并没有实际用处,一本《C++ primer》入门足矣,此时看看优秀的cpp项目我认为性价比更高(事实上我个人认为看工业代码学语言才是最快的最好的),平时写写python也不错