Ruby 3.3 的速度再次提升
在「Ruby 3.3's YJIT Runs Shopify's Production Code 15% Faster」這篇提到了 Ruby 3.3 的速度再次提升的消息。 在 Shopify 上面的測試,3.3.0-preview2 的速度已經比 3.2.2 (兩者都有開啟 YJIT) 快了 13%,而且 p50/p90/p99 都有對應的改善:...
View ArticleCloudflare Workers 推出新的計費模式:以 CPU time 收費
Cloudflare 在 Workers 這個產品 (serverless 產品線) 推出了以 CPU time 收費的模式:「New Workers pricing — never pay to wait on I/O again」。 在這之前大家都是以 wall time 在計費,但這對於會卡在 I/O 很久的應用來說很不利,這次 Cloudflare 提出方案改用 CPU time...
View ArticleSentry 的替代品:GlitchTip
GlitchTip 是 Sentry 的替代品,你仍然可以用 Sentry SDK 發送錯誤訊息,但接收端則是換成 GlitchTip。 Sentry 本身已經是 open source software 了 (可以在 getsentry/self-hosted 這邊裝) (參考「Sentry 的 License 不是 Open Source License...」),但最近的版本愈來愈肥,8GB...
View ArticleAWS 推出 32TB RAM 的機種 u7in-32tb.224xlarge
最近是 AWS re:Invent 2023,會有蠻多消息陸陸續續冒出來。 剛剛看到「Introducing Amazon EC2 high memory U7i Instances for large in-memory databases (preview)」這個,AWS 推出了 u7in-32tb.224xlarge,896 vCPU + 32TB RAM 的機器。 先前最大的應該是...
View Articlesudo 對 ROWHAMMER 攻擊的 mitigation
看到「Rowhammer Resistant Coding in Sudo (github.com/sudo-project)」這邊的討論,提到了 sudo 專案 (變成 root 那個 sudo 軟體) 怎麼緩解 ROWHAMMER 攻擊的實作,原連結是去年九月時 GitHub 上的 commit:「Try to make sudo less vulnerable to ROWHAMMER...
View ArticleJava 21 的 ZGC 在 Netflix 的效果
在 Hacker News 上看到連結「Bending pause times to your will with Generational ZGC (netflixtechblog.com)」,發現這篇還沒整理:「Bending pause times to your will with Generational ZGC」,裡面講的東西都有圖有數字 (i.e. Y 軸),作者是 Danny...
View ArticleAndroid 規劃 16KB Page Size
Hacker News 上看到 Android 在規劃 16KB Page Size 的消息:「Adding 16 kb page size to Android (googleblog.com)」,原文是「Adding 16 KB Page Size to Android」。 Android 目前主力是 4KB Page Size,但因為 ARM 有支援 16KB Page...
View ArticleAWS 推出 Memory/CPU 比到 16:1 的 x8g 系列主機
看到「Now available: Graviton4-powered memory-optimized Amazon EC2 X8g instances」這篇公告,本來想說 Amazon EC2 的記憶體主機不是有 r8g.* 嗎,對比了一下才發現記憶體比率更高... 在七月的時候 AWS 先推出了 r8g.* 的主機,Memory/CPU 比是 8:1,也就是 8GB RAM 配 1...
View Articlegetenv() + putenv() + setenv() 的 thread-safe 問題
在「Improving Steam Client Stability on Linux (ttimo.typepad.com)」這邊看到的,原文在「Improving Steam Client stability on Linux: setenv and multithreaded environments」這邊。 裡面提到了 getenv() + putenv() + setenv()...
View ArticleRaspberry Pi 5 推出 16GB 版本
看到「New 16GB Raspberry Pi 5 on sale now at $120 (raspberrypi.com)」這邊的討論,官方公告在「16GB Raspberry Pi 5 on sale now at $120」。 光板子就要 US$120 這個價格,如果搭上 storage (SD card) 以及 USB-C 的供電成本,差不多已經觸到像是 Intel N100...
View Article