2026-04-08
PostgreSQL, スピンロック
PostgreSQLのスピンロックを頑張って減らしている人のコメント面白い (コミッターのfujiiさんの投稿で知った)
futexベースにするとロック解放時にメモリバリアが必要でバリアの増加はリグレッションを引き起こしたり、既存のスピンロック実装自体も移行を難しくしていると 返信に、件のワークロード自体あまり現実味無いという話も書いてある。やはりそれはそう。
あと、buffer 置換対象の選択は10年近くロックフリーで、unused buffer のリストのみがスピンロックで守られてた & 最近スピンロック削除、とのこと。
Claude Codeのソースコード流出
malum prohibitum("wrong [as or because] prohibited")
eBPF
f you want to get into eBPF programming, I highly recommend Teodor Podobnik's tutorials on iximiuz Labs.
The series starts from the basics and goes all the way up to solving practical networking problems. All posts are well-illustrated and full of examples that actually work.
テスト