live-mutex
live-mutex copied to clipboard
High-performance networked mutex for Node.js libraries.
Windows
Any news about this lib running on windows ?
May want to make use of this: https://github.com/fastify/fast-json-stringify
Adding these libraries will improve the cli interface
1. Make several successful lock/unlock requests and then destroy connection from both client and broker side. 2. simulate version mismatch and destroy connection after 2 seconds
using net package, should allow uses to use tls package
if client and server have a version mismatch log this on both client and server compare the minor version, ignore patch differences
if client experiences error event there should be no more retries to acquire a lock
Give client setNoDelay option and give server setQuickAck see: https://www.extrahop.com/company/blog/2016/tcp-nodelay-nagle-quickack-best-practices/ https://eklitzke.org/the-caveats-of-tcp-nodelay
https://blog.wasin.io/blog/2016/12/26/how-to-enable-fast-tcp-open-on-ubuntu.html