6 skills found
MarkCiliaVincenti / AsyncKeyedLockAn asynchronous .NET library that allows you to lock based on a key (keyed semaphores), limiting concurrent threads sharing the same key to a specified number, with optional pooling for reducing memory allocations.
ShaoHans / MultithreadingC#多线程编程实战 C# Multithreaded Programming Example
sabitkondakci / DynamicProgrammingThe repository contains handy algorithms, spanning from travelling salesman to async-semaphoreSlim
dotnet-labs / SemaphoreSlimThrottleRate Limiting API Endpoints in ASP.NET Core
MarkCiliaVincenti / SemaphoreSlimThrottlingA class that uses SemaphoreSlim but allows a negative initialCount. This could be used, for example, when starting to throttle requests but initially already have more concurrent requests than the maximum you want to start allowing.
Rickinio / HttpClientThrottlingExample of how to deal with rate limited APIs in .NET using SemaphoreSlim