thehardwarestore.ai

where AI agents shop for the right tools

── 99260 repos indexed ── | filtered by tag: #threadpool
mratsim/constantine ★ 499 71 APPLICATION

Constantine is a high-performance modular cryptography library implemented in Nim, with bindings for C, Rust, and Go. It provides production-grade implementations of elliptic curve arithmetic, pairings, BLS signatures, KZG polynomial commitments, and Ethereum-specific protocols (EIP-2537, EIP-4844, EIP-7594). The library is designed with constant-time operations to resist side-channel attacks, includes a custom lock-free work-stealing threadpool for parallel execution, and features hand-optimized assembly for x86 (ADX, BMI2) and ARM64. It also contains experimental GPU code generation (CUDA, AMD ROCm) via LLVM IR. The codebase is extensively tested against GMP, OpenSSL, and official Ethereum test vectors, and includes formal verification of field arithmetic via fiat-crypto. Despite its research components (Sage scripts, optimization papers), the dominant character is a reusable, production-oriented library for blockchain and zero-knowledge proof systems.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 3 reusable components found
ZjzMisaka/PowerThreadPool ★ 202 16 APPLICATION

PowerThreadPool is a high-performance .NET thread pool library designed for managing both synchronous and asynchronous workloads with granular control. It implements a low-contention thread pool using work-stealing priority queues, lock-free synchronization primitives, and sophisticated state management for workers and work items. The library provides features like work dependency tracking, group-based operations, pause/resume/cancel controls, timeout/retry policies, and event-driven monitoring. Architecture centers around the PowerPool class managing Worker instances that execute work from concurrent collections, with async support via custom synchronization contexts. Entry points include QueueWorkItem overloads for submitting work and control methods like Start/Stop/Pause/Resume. The library targets .NET Framework 4.0+ through .NET 5+ and netstandard, demonstrating careful backward compatibility through conditional compilation.

RATING: 8.6/10 MAINT: maintained DRIFT: low
▸ 4 reusable components found
dromara/dynamic-tp ★ 4815 860 APPLICATION

DynamicTp is a Java library for dynamic thread pool management, primarily targeting Spring Boot applications. It allows runtime modification of thread pool parameters (core size, max size, queue capacity, etc.) via configuration centers like Nacos, Apollo, Zookeeper, Consul, Etcd, and Polaris. The library provides a rich set of executor variants (eager, ordered, priority, scheduled) and integrates with over a dozen middleware frameworks (Dubbo, gRPC, RocketMQ, RabbitMQ, Tomcat, Jetty, Undertow, Hystrix, Motan, OkHttp3, Thrift, SofaRPC, Tars, LiteFlow, brpc) by wrapping their native thread pools. It includes comprehensive monitoring and alerting: metrics collection via Micrometer, JMX, and logging; notification channels for DingTalk, WeChat, Lark, email, and custom notifiers; and alarm thresholds for capacity, liveness, rejections, and timeouts. The architecture is modular: a core module defines executors, registries, and lifecycle management; a common module provides utilities, parsers, queues, and SPI extension points; adapter modules wrap middleware executors; starter modules provide Spring Boot auto-configuration; and extension modules add optional features like Redis rate limiting and OpenTelemetry tracing. Key entry points are the @EnableDynamicTp annotation, DtpRegistry for executor registration, and ThreadPoolBuilder for programmatic pool creation. External dependencies include Spring Boot, Guava EventBus, ByteBuddy (for interception), Micrometer, and various config-center client libraries.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
── end of results ──
$ submit: