從 splice、page cache 與 algif_aead 的 in-place 設計,理解 Copy Fail 如何讓一般使用者取得 root,以及後來的修補方式。
從 inlining、loop merging 到 code locality,理解 LTO 的原理與編譯效能取捨。
重讀 The Tail at Scale,整理大規模系統裡降低尾端延遲的方法與實務心得。
Random Scheduler Note Golang Scheduler 最近因為 golang 討論區的一篇文章,又簡單複習了下 golang scheduler,其實這個 scheduler 設計上面算是蠻簡單的,具體的內容其實很多文章都寫過了,而特點就是讓多個 goroutines 跑在
從 ThreadSanitizer 到 Go race detector,探索資料競爭偵測工具背後的實作。
Preface 這是一篇 2006 年 AWS CTO Werner Vogels 的 interview,收錄在ACM queue 上面,過了將近 15 年後來看,令我特別有感觸,也非常佩服我偶像 Werner Vogels 的真知灼見。 我特別驚呀的是在 DevOps, Microservice
Integer Encoding Algorithm 筆記 現今的電腦在 CPU 和 Memory 的速度上有極大的差距,而 Memory 到 Disk 上面的差距就更大了,所以有許多的壓縮演算法被套用在不同的應用上,例如 IoT, big data 和 database 之類的, 一個是為了節省儲
String Interning 最近在 twitter 上面看到一篇推文 Hacked string interning profiler for golang:https://t.co/EB2uJwzvtxAllows to understand where to use interning &
最近強者我 Tead lead Champ Yen 在公司內部做了一次 experience sharing,內容非常的精彩,分享了怎麼使用 compiler vector extensions 去寫 SIMD 的 program,進而將 program 的效率提升,並且可以產出 portable
Matt Kulukundis 在 cppcon 2017 年給的 talk,我覺得這個 talk 講得非常好,主要是說明如何使用 Swiss Tables ,設計出更符合當代硬體架構的 hash map (flat hash map),google 內部大量採用這個改寫 std:unordered