AsyncEx
Orleans
Our great sponsors
AsyncEx | Orleans | |
---|---|---|
23 | 35 | |
3,408 | 9,805 | |
- | 0.8% | |
0.0 | 9.1 | |
4 months ago | 5 days ago | |
C# | C# | |
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.
AsyncEx
-
how to safely share state in multithreading applications
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 prevent method call if its aready running?
-
Question- Blazor and async
Async Lock.
-
Can `lock`be used with a blazor server application, or should a semaphore be exclusively used?
If you haven't seen it before, there's an excellent async util library on nuget by Stephen Cleary called Nito.AsyncEx.Coordination. It contains a number of classes to help with async synchronization, giving options beyond SemaphoreSlim. It might be worth checking out.
- Deadlock problem
- StephenCleary/AsyncEx: A helper library for async/await [C#, Nuget, Async, Perf]
-
How To Achieve Synchronization In C# While Doing Async Await Multithreaded Programming - .NET Core - In this video, I am comparing #Mutex, #SemaphoreSlim and #ReaderWriterLockSlim synchronization primitives in a multi-threaded async and await methodology using application.
and if you need ReaderWriterLock behavior in an async context, Stephen Cleary has an implementation
-
How to introduce a queue for my API.
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
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?
Nito.AsyncEx:
Orleans
-
.NET 8 – .NET Blog
We should chat more about Reminders v2 - I want to learn more about what you'd like it to provide. Can you comment on the issue (https://github.com/dotnet/orleans/issues/7573)? If you'd like to see some of what is in the works, please message me on Discord and we can chat more about it (https://aka.ms/orleans/discord)
- Orleans v7.2.3 Released
-
how to safely share state in multithreading applications
for ADO scripts config, I ran the main, clustering, and persistence scripts but got runtime error lacking some migration sql object (don't remember the exact error message). But after some debug, I had to run this extra migration script which was not mentioned in that ADO config page.
- Orleans – Cloud Native application framework for .NET – Release v7.1.2
- Maximizing Scalability & Speed — Redis Session Management in C#
-
Temporal .NET SDK
I think Orleans is going to introduce something similar that Temporal has on .NET 8 https://github.com/dotnet/orleans/issues/7487
-
Top 10 bugs found in C# projects in 2022
Something tells me that the developers should have cleared batchOperation a bit later. Judging by the fix, the Orleans developers agree with me.
-
Does anyone have any experience with dapr (ala dapr.io)?
Dapr is created for multi language purpose. If you have only .NET Stack there is mature and more faster Microsoft Orleans. Debugging is easy with local silo - just debugging the same process.
-
How to make the fastest .NET Serializer with .NET 7 / C# 11, case of MemoryPack
There are some more perf improvements coming to Orleans serializer, like this 1.6x improvement to message serialization: https://github.com/dotnet/orleans/pull/8185
- What's new in Orleans 7.0
What are some alternatives?
AsyncLock - An async/await-friendly lock for .NET, complete with asynchronous waits, safe reëntrance, and more.
ABP - Open Source Web Application Framework for ASP.NET Core. Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET and the ASP.NET Core platforms. Provides the fundamental infrastructure, production-ready startup templates, application modules, UI themes, tooling, guides and documentation.
DistributedLock - A .NET library for distributed synchronization
ASP.NET Boilerplate - ASP.NET Boilerplate - Web Application Framework
MsgKit - A .NET library to make MSG files without the need for Outlook
Akka.net - Canonical actor model implementation for .NET with local + distributed actors in C# and F#.
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!
DotNetty - DotNetty project – a port of netty, event-driven asynchronous network application framework
AspNetCoreDiagnosticScenarios - This repository has examples of broken patterns in ASP.NET Core applications
Microdot Framework - Microdot: An open source .NET microservices framework
EasyJob - :hammer: EasyJob - keep and execute your PowerShell and BAT scripts from one interface
protoactor-dotnet - Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin