DistributedLock
DistributedLock copied to clipboard
A .NET library for distributed synchronization
## Description We need a feature to acquire distributed locks on multiple keys simultaneously. The solution must: - Acquire locks in a deterministic order (e.g., alphabetical) to prevent deadlocks. -...
I am using DistributedLock.SqlServer for distributed locking in an Azure hosted app that is logging to Application Insights. The locking is working great, thank you! However, it is causing a...
Hi, we are using the GBase8s database and have added support for GBase8s in DistributedLock. Would you be interested in merging the modifications into the main branch?
Hi, we just started using DistributedLock.Redis, and on my developer machine it works great. But in our development environment on AWS we get this one pretty frequently (9300 times in...
Hi, first of all, thank you for this great library — it’s been very helpful for us! 🙏 I have a question regarding how RedisDistributedLock.TryAcquireAsync behaves when Redis is unavailable...
- Implement basic etcd lock with blocking strategies and lease. - add basic testing for lock and lockprovider(passed) but the combinatorial test failed. For #119
LUA has large sections depreciated in Redis and all of the clones don't support it as a result. Using it is both slower (according to the .net team) than alternatives,...
We use the Sql Server implemention of DistributedLock, currently DistributedLock.SqlServer 1.0.5. I have seen that sometimes we have exceptions when calling `DisposeAsync()`. In general I thought Dispose/DisposeAsync shouldn't throw, but...
Given: ``` var connectionPoolManager = services.BuildServiceProvider().GetService() ?? new RedisConnectionPoolManager(connectionConfiguration); var dbs = connectionPoolManager.GetConnections().Select(c => c.GetDatabase()); ``` This wont work (handle returns null always - no exception thrown): ` services.AddSingleton(_ =>...
Hey, I'm a fan of this library. We're currently using it with Azure Blob Storage. I'm curious if you've ever considered or would consider an implementation that uses Cosmos DB?...