CodeTiger.Core
A .NET library that provides a variety of reusable functionality. (by csdahlberg)
DistributedLock
A .NET library for distributed synchronization (by madelson)
CodeTiger.Core | DistributedLock | |
---|---|---|
1 | 5 | |
8 | 1,652 | |
- | - | |
0.0 | 8.5 | |
over 1 year ago | 23 days ago | |
C# | C# | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
CodeTiger.Core
Posts with mentions or reviews of CodeTiger.Core.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-27.
-
What lock should I use to lock a User Object while be able to run methods async inside the lock?
I also implemented something similar in my CodeTiger.Core library that I use on my own side projects.
DistributedLock
Posts with mentions or reviews of DistributedLock.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-06.
-
Ideas for concurrency control
You want a distributed lock then, maybe this project would help? https://github.com/madelson/DistributedLock
-
Distributed pool
Otherwise, you can probably look for libraries that do distributed locks (mutex or semaphore) like this one? https://github.com/madelson/DistributedLock
-
System Design Interview Question: Implementing a Scheduler
That’s it! The benefit of this approach is that the job does not depend on a particular framework or set of tools. It can be run as either a console application, or used in unit tests. What is most important to note is that concurrent jobs can affect subscriptions. So before sending a request to the payment gateway, always make sure that you have locked the resource. Every modern database supports distributed locks, and there are hundreds of frameworks on top of them. Examples of this can be found at https://github.com/madelson/DistributedLock. It is not a complicated task, but it is one that absolutely needs to be done.
-
How should I manage replicated backend service that has hosted background service
Seems like there are some solutions and libs out there like: Community made : https://github.com/madelson/DistributedLock Redis supported: https://github.com/samcook/RedLock.net
- What lock should I use to lock a User Object while be able to run methods async inside the lock?
What are some alternatives?
When comparing CodeTiger.Core and DistributedLock you can also consider the following projects:
AsyncEx - A helper library for async/await.
RedLock.net - An implementation of the Redlock algorithm in C#
Hangfire - An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
QuartzNet - Quartz Enterprise Scheduler .NET
aspnetcore-redis-rate-limiting - Set up a Redis backplane for ASP.NET Core multi-node deployments, using the built-in Rate Limiting support that's part of .NET 7 and .NET 8.