為線上環境而最佳化的 Ruby:Fullstaq Ruby
最近看到的「Fullstaq Ruby」,專為線上環境最佳化的 Ruby:
Fullstaq Ruby is an MRI-based Ruby distribution that’s optimized for server production use cases.
目前主要是使用 jemalloc (超萬用) 以及 malloc_trim patch:
It is compiled with the Jemalloc and malloc_trim patches, allowing lower memory usage and higher performance.
其中看了一下 malloc_trim patch 的介紹還蠻有趣的:「What causes Ruby memory bloat?」,這篇主要是在討論記憶體用量的問題,以及目前常見的 workaround。
這個…
View On WordPress


















