Introduction to Spark
Introduction to Rust Macro
Rust 通过反射和 AST 语法扩展这种宏方式来支持元编程。宏(Macro)分为两种:文本替换和语法扩展,Rust 使用后一种。宏在 Rust 的标准库和第三方库中广泛使用,如 std 里的 println!
、vec!
和 thread_local!
等,第三方库包括 rust-prometheus,fail-rs,lazy_static 等。
Latency Numbers Matter
在优化存储系统的读写延迟的过程,要经常做 benchmark 跑数据。有了监控等数据就要进行分析,找出性能瓶颈。这时对计算机系统的各种操作访问的延迟数据的敏感性就非常重要。这里就根据 jeff dean 的 “what are the numbers that every computer engineer should know”,对这些数据进行简要分析。
»How to Setup Blog with Github
Styles at a glance
Simple is a beautiful but functional jekyll theme. The font-type setting looks really good when writers use CJK mixed with English. »