Because I don't do social media.

Announcing LockDB

A tool to handle locking in serverless environments.

tl;dr; This project has been archived. Below is the original announcement.

LockDB is a cross-platform tool you can use to handle process/event locking and avoid race conditions. It is sometimes also known as a semaphore.

There are packages for Node.js / Browser / Bun / NPM, Deno, and you can also use it as a CLI.

I'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't ever run in parallel.

The paradigm fits serverless computing really well.

If you need to handle locking, check it out. I hope it's valuable to you.

If you have any suggestions, comments, or recommendations, I'd love to hear it.

Thank you for your attention and kindness. I really appreciate it!