qoollo / dotnet-turbo Goto Github PK
View Code? Open in Web Editor NEWCollection of useful classes for your .NET application (object pool, thread pool, async processing, queues, collections, multithreading primitives, etc.)
License: MIT License
Collection of useful classes for your .NET application (object pool, thread pool, async processing, queues, collections, multithreading primitives, etc.)
License: MIT License
Message: System.MissingMethodException: Method not found: 'Qoollo.Turbo.ObjectPools.RentedElementMonitor1<System.__Canon> Qoollo.Turbo.ObjectPools.ObjectPoolManager
1.Rent(Int32, System.String, System.String, Int32)'.
It could be great to stick on the idea of having micro-packages instead of big ones (to be cloud/device compliant 😄), and creating a nuget package of each topic:
Object pools - easy to use object pools;
Asynchronous data processing with queue - help in parallelization of item processing;
Thread pools - fast thread pools with dynamic adjustment of thread count;
Thread set manager - simplify common thread start/stop scenarios;
SemaphoreLight - extremely fast lightweight semaphore;
BlockingQueue - thread safe queue with blocking (up to 5 times faster than BlockingCollection);
EntryCountingEvent - allow to control the clients entered some block of code;
ThrottlingBehaviour - allow to limit the maximum requests per second;
IoC container - simple inversion-of-control container;
WeakDelegate, WeakEvent - event with weak reference to subscribers;
Deque - collection of elements organized as deque;
Priority Queues - simple queue with limited number of priorities;
CircularList - collection that stores elements inside circular buffer;
Read only collections - a number of useful readonly collections (List, Dictionary, HashSet);
A bunch of extension methods for IEnumerable, Type, Exception.
Then you can preserve the Qoollo.Turbo
package that has dependencies on the micro-packages.
What do you think about?
Привет!
У вас есть еще пример использования ThreadPool?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.