TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: LockDB - Handle Process/Event Locking

3 pointsby BrunoBernardinoover 1 year ago

1 comment

BrunoBernardinoover 1 year ago
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!