TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: LockDB - Handle Process/Event Locking

3 点作者 BrunoBernardino超过 1 年前

1 comment

BrunoBernardino超过 1 年前
LockDB is a cross-platform tool you can use to handle process&#x2F;event locking and avoid race conditions. It is sometimes also known as a semaphore.<p>There are packages for Node.js &#x2F; Browser &#x2F; Bun &#x2F; NPM, Deno, and you can also use it as a CLI.<p>I&#x27;ve been working on it for a couple of months now, and have a couple of projects using it to ensure a couple of important and resource-intensive cronjobs don&#x27;t ever run in parallel.<p>This is still very early, and at this point I&#x27;m trying to see if there&#x27;s a need for this out there, and what do people think of the concept and API.<p>Thank you!