|9 months ago||2 months ago|
|MIT License||MIT License|
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.
how to safely share state in multithreading applications
2 projects | /r/dotnet | 5 Jun 2023
PS: You may want to look at the other in-memory concurrency structures available. You may find something that perfectly fits the specific problem you are trying to solve. https://learn.microsoft.com/en-us/dotnet/api/system.threading?view=net-7.0, https://learn.microsoft.com/en-us/dotnet/api/system.collections.concurrent?view=net-7.0, and https://github.com/StephenCleary/AsyncEx
How to introduce a queue for my API.
4 projects | /r/csharp | 23 Jan 2023
Pessimistic concurrency - you can use something like AsyncLock from Nito.AsyncEx package, to lock around each db access.
Async workaround ideas for a shared class library problem
4 projects | /r/dotnet | 30 Nov 2022
This library has class that will allow you to safely run async code in Sync-context enabled environment.
What is the best approach to call asynchronous method from synchronous?
3 projects | /r/dotnet | 31 Oct 2022
Nito.AsyncEx:3 projects | /r/dotnet | 31 Oct 2022
How do you continue a Task on the main thread when you control the main thread?
2 projects | /r/csharp | 24 Oct 2022
I gave up & went with https://github.com/StephenCleary/AsyncEx. But you make it sound like this shouldn't be necessary?
Is this a correct reentrant async lock?
4 projects | /r/dotnet | 21 Jun 2022
Re-entrant async locks are not possible with this library. See: https://github.com/StephenCleary/AsyncEx/blob/master/doc/AsyncLock.md4 projects | /r/dotnet | 21 Jun 2022
Help with async/await and lock statements
2 projects | /r/dotnet | 11 Mar 2022
How can I avoid IEnumerable multiple iterations? Is it bad to cast IEnumerable --> ICollection --> IEnumerable to perform validation?
2 projects | /r/dotnet | 6 Jan 2022
BTW - My use-case is that I am developing nuget packages. My nuget packages are lower level, similar to this: https://github.com/StephenCleary/AsyncEx
System Design Interview Question: Implementing a Scheduler
3 projects | dev.to | 4 Mar 2022
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
2 projects | /r/AskProgramming | 2 Dec 2021
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?
3 projects | /r/csharp | 27 Nov 2021
What are some alternatives?
RedLock.net - An implementation of the Redlock algorithm in C#
AsyncLock - An async/await-friendly lock for .NET, complete with asynchronous waits, safe reëntrance, and more.
Hangfire - An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
MsgKit - A .NET library to make MSG files without the need for Outlook
Fusion - Build real-time apps (Blazor included) with less than 1% of extra code responsible for real-time updates. Host 10-1000x faster APIs relying on transparent and nearly 100% consistent caching. We call it DREAM, or Distributed REActive Memoization, and it's here to turn real-time on!
QuartzNet - Quartz Enterprise Scheduler .NET
EasyJob - :hammer: EasyJob - keep and execute your PowerShell and BAT scripts from one interface
LiquidState - Efficient asynchronous and synchronous state machines for .NET
AspNetCoreDiagnosticScenarios - This repository has examples of broken patterns in ASP.NET Core applications