Announcing LockDB
A tool to handle locking in serverless environments.
tl;dr; You can check out and start a 30-day free trial at lockdb.com.
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!