今日已更新 88 条资讯 | 累计 42797 条内容
关于我们

TIL: One lock to rule them all

/u/realflakm 2026年09月13日 18:28 1 次阅读 来源:Reddit r/programming

I've been running multiple migrations recently. A common step in all of them is a long cleanup action at the end. I ended up using postgres advisory locks and sqlx. As part of a larger Today I've learned series, I dug a bit deeper using bpftrace to improve my understanding of how the locks actually work. Hope you will find it interesting as well submitted by /u/realflakm [link] [留言]

本文内容来源于互联网,版权归原作者所有
查看原文