137 packages tagged with “Pool”
应用场景:连接池,资源池等等
Smart Thread Pool, implemented in .NET
An extension library for StackExchange.Redis which adds Multiplexer connection pool abstraction and implementation
A generic, concurrent, portable and flexible Object Pool for .NET. It is completely based on the Code Project article of Ofir Makmal (http://goo.gl/4qig6T). Library is production ready and it is successfully working in real life systems. Original source code has been modified, in order to introduce a Parameterized Object Pool, already drafted by Ofir Makmal in the comments of the article. Moreover, a few unit tests have been added, in order to improve code reliability, and a lot of other small changes have also been applied. Of course, all modified source code is freely available at the project URL of this package. Many thanks to Ofir Makmal for his great work.
Pool: An object pool.
A light weight and thread safe generic object pool. For more information please visit: https://github.com/yanggujun/commonsfornet/wiki/Commons.Pool
A high-performance, stack-only string builder that rents its underlying buffer from ArrayPool instead of allocating new arrays. Designed for short-lived string construction.
Firebend Auto Crud extension pack for adding Entity Framework contexts in an Elastic Pool
Objects pooling, buffers pooling
Library containing types which support pooling asynchronous and synchronous resources.
Traffic-free collections (PoolingList, PoolingDictionary, PoolingQueue, PoolingStack), non-allocating LINQ
常用类型扩展库,为常用数据类型提供更加丰富的代码扩展,使开发更加简单。更多的使用方法请参考项目URL。
.NET blocking, light weight, thread safe object pool.
Very simple plugin to refresh the Application Pool for the site from an Umbraco developer section dashboard. This plugin just creates an AppSetting key that stores a date. When the refresh button is clicked the AppSetting key value is updated with the current date and time. So it is just simpley touching the web.config to trigger the refresh. Easy peasy lemon squeezy!
Provides generic object pool utilities.
OpenShare.Net Common Library. Many common extension methods for making life simple from IEnumerable, Impersonation, String, WCF Services to Encryption. See source code on Github by using the project url.
A generic, concurrent, portable and flexible Object Pool for .NET. This package contains an adapter for Microsoft.Extensions.ObjectPool abstraction.
PoolSharp is a simple, light weight, thread safe object pool.
When you request buffer of size N from `System.Buffers.MemoryPool<T>` returns `IMemoryOwner<T>` which can hold `Memory<T>` at least N elements. That proves to be a problem in some scenarios like passing serialized data back to your users. You need to pass them one more field: actual length of data. This pool will always trim `IMemory<T>` to requested length. It will also provide a property with an access to underlying buffer.
A simple lightweight object pool for fast and simple object reuse. (C# - Source file) Fast lightweight thread-safe object pool for objects that are expensive to create or could efficiently be reused. Note: this nuget package contains c# source code and depends on System.Collections.Concurrent introduced in .Net 4.0.
Manages a pool of Semantic Kernel instances with per-entry rate limiting.
Parallel tasks executing library.
OpenShare.Net Threading Library. ConcurrentCache is a new in-memory cache system that is generically typed to IDictionary and is thread safe. Client Pool is generically typed and plays well with TPL (Task Parallel Library) for any disposable clients. See source code on Github by using the project url.
Client implementation for Blue Riiots pool sensor API
OpenShare.Net Service Library. Contains some ready made injectable services like HttpService for connecting to API's, MailService (uses Exchange Web Services), and allows for easy configuration with Configuration Factory and Configuration Service examples. See source code on Github by using the project url.
HbaseThrift 连接池 //初始化连接池 HBaseClientPool.InitHBaseClientPool("192.168.0.242:9090|192.168.0.246:9090|192.168.0.250:9090"); //使用using 释放连接到连接池 using (var hclient = HBaseClientPool.GetHclient()) { Stopwatch sw = new Stopwatch(); for (int i = 0; i <= 10000; i++) { try { sw.Restart(); string row = System.Guid.NewGuid().ToString(); hclient.Client.mutateRow("1".ToBytes(), row.ToBytes(), new List<Mutation> { new Mutation { Column = "b:abc".ToBytes(), Value = DateTime.Now.ToBytes() } }, null); sw.Stop(); Console.WriteLine($"时间:{DateTime.Now} 耗时:{sw.ElapsedMilliseconds} "); } catch (Exception ex) { Console.WriteLine(ex.Message); } } }
Compress/Decompress with QuickLz with less allocations
Provides Azure OpenAI-specific registration extensions for KernelPoolManager, enabling integration with local LLMs via Semantic Kernel.
Provides Ollama-specific registration extensions for KernelPoolManager, enabling integration with local LLMs via Semantic Kernel.
Thread-safe generic object pool helps sharing object instances among multiple threads. Large objects that are costly to create, state-full, not thread safe are difficult to use in mult-thread environment. This little, lightweight library will help share limited number of objects between many threads.