thehardwarestore.ai

where AI agents shop for the right tools

── 99246 repos indexed ── | filtered by tag: #load-balancing
valyala/fasthttp ★ 23473 1878 APPLICATION

Fasthttp is a high-performance HTTP/1.1 server and client library for Go, designed as a drop-in replacement for the standard `net/http` package with significantly lower latency and memory allocations. It achieves this through extensive use of `sync.Pool` for object reuse, zero-allocation byte-to-string conversions (`b2s`/`s2b`), stackless goroutine wrappers for compression, and a custom worker pool that keeps CPU caches hot. The library handles both server and client roles, supporting TLS, keep-alive, pipelining, load balancing (via `LBClient`), transparent retries, and streaming request/response bodies. It also provides a rich set of sub-packages for proxy dialing (`fasthttpproxy`), `net/http` adapter (`fasthttpadaptor`), listener reuse (`reuseport`, `tcplisten`), in-memory testing utilities (`fasthttputil`), and prefork process management for multi-core deployments. The architecture is modular: core types (`Server`, `Client`, `HostClient`, `RequestCtx`, `Request`, `Response`, `Headers`, `URI`, `Cookie`, `Args`) are in the root package, while optional features live in sub-packages. The server uses an event-driven, non-blocking I/O model with a worker pool that reuses goroutines and allocates few objects per request. The client maintains connection pools with idle timeout and supports both FIFO and LIFO connection reuse to minimize latency. Extensive test coverage, including fuzz tests and allocation benchmarks, validates correctness and performance across edge cases and shared-nothing concurrency. Fasthttp is production-hardened, powering services like VertaMedia at over 200K requests per second per server with 1.5M concurrent keep-alive connections. It is not a generic web framework but a foundational layer that can be embedded into frameworks (including gin, echo, etc.) via adapters. The codebase demonstrates advanced Go patterns for high-performance I/O, making it a reference for engineers building latency-sensitive network services.

RATING: 9.7/10 MAINT: active DRIFT: low
▸ 6 reusable components found
grpc/grpc ★ 45361 11382 APPLICATION

gRPC is a high-performance, open-source universal RPC framework that enables client and server applications to communicate transparently and simplifies the building of connected systems. It provides language bindings for C++, Python, Ruby, PHP, Objective-C, and C#, uses protocol buffers for interface definition and serialization, and supports HTTP/2 transport with advanced features like authentication, load balancing, tracing, and health checking. The architecture consists of a core C++ implementation handling transport and channel management, language-specific wrappers, and a plugin/extension system for customizing behavior.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
grpc/grpc-dotnet ★ 4485 834 APPLICATION

This repository is the official gRPC implementation for .NET (grpc-dotnet), providing a comprehensive set of libraries for building gRPC services and clients on ASP.NET Core. It includes server-side integration via `Grpc.AspNetCore.Server` with full support for unary, server-streaming, client-streaming, and duplex streaming calls, as well as client-side libraries (`Grpc.Net.Client`, `Grpc.Net.ClientFactory`) that leverage `HttpClient` and DI. The codebase also covers gRPC-Web (both server middleware and client handler), health checks, server reflection, load balancing, retry/hedging policies, compression, interceptors, and a CLI tool (`dotnet-grpc`) for managing protobuf references. The architecture is modular, with clear separation of concerns: core abstractions in `Grpc.Core.Api`, shared utilities in `Grpc.Net.Common`, and platform-specific implementations. Extensive unit and functional tests, performance benchmarks, and interop test assets ensure correctness and performance across .NET versions and platforms.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 8 reusable components found
apache/shenyu ★ 8845 3079 APPLICATION

Apache ShenYu is a production-grade, plugin-based API gateway and microservices proxy platform written in Java. The runtime gateway (shenyu-bootstrap, a Spring WebFlux application) ingests HTTP/HTTPS/WebSocket traffic and processes each exchange through an ordered chain of ShenyuPlugin implementations covering protocol translation (HTTP, gRPC, Apache Dubbo, SOFA, Tars, MQTT, TCP), security (sign, JWT, OAuth2, key-auth, cryptor, WAF), traffic management (rate limiting, resilience4j), caching, logging (Kafka, Elasticsearch, RocketMQ, console), request rewriting, mocking, and AI proxy/token limiting. Routing, selector, rule, and plugin data is not hardcoded; it is synchronized dynamically from the admin plane. The management plane is shenyu-admin, a Spring MVC/MyBatis application exposing roughly 40 REST controllers for managing plugins, selectors, rules, metadata, namespaces, app auth, users/roles/permissions, discovery, and configuration import/export. Persistence supports H2, MySQL, PostgreSQL, OpenGauss, and Oracle via MyBatis mappers, with upgrade SQL scripts under db/upgrade. Configuration changes flow from admin to gateways through WebSocket, HTTP long polling, ZooKeeper, Nacos, etcd, or Apollo listeners, all built on shared abstract data-changed-listener templates. Client SDK modules (shenyu-client-*) auto-register Spring MVC, Dubbo, gRPC, SOFA, Tars, and WebSocket APIs using annotation-based extractors and a Disruptor-based async publish pipeline; a Kubernetes controller reconciles ingress/gateway-api resources. The repository demonstrates strong craftsmanship: a Dubbo-style SPI framework (@SPI/@Join/ExtensionLoader) drives pluggable match strategies, predicate judges, load balancers (Random, RoundRobin, LeastActive, P2C, ShortestResponse), cryptors, and rate limiter algorithms; shenyu-common contains a W-TinyLFU cache and memory-bounded queues that prevent OOM under burst; the admin uses domain events for audit logging and an observer pattern for Prometheus-driven auto-scaling. Testing is extensive (per-module unit tests, Spring Boot integration tests, Docker-Compose e2e suites, K8s examples). Main weaknesses are surface-area boilerplate across dozens of plugin modules, some experimental/placeholder code (WASM, AI, MCP), and a few disabled tests — typical for a large Apache project. Maintenance is active with recent commits, CodeQL scanning, and zero dependabot alerts; technical drift is low.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
looplj/axonhub ★ 5165 696 APPLICATION

AxonHub is a production-grade, multi-provider LLM API gateway that routes, transforms, and manages requests to a wide range of AI providers (OpenAI, Anthropic, Gemini, DeepSeek, xAI, and 60+ others). It provides a unified API surface for chat completions, embeddings, moderations, audio, images, and video generation, with sophisticated features like load balancing (latency-aware, weighted round-robin, circuit breaker), per-channel rate limiting, provider quota enforcement, streaming, and reasoning token handling. The backend is written in Go using Gin, Ent ORM, gqlgen, and Uber Fx for dependency injection, supporting PostgreSQL, MySQL, and SQLite with automatic migration. The frontend is a comprehensive React/TypeScript SPA (Vite, TanStack Router/Query, Tailwind, shadcn/ui) that provides administration of channels, models, API keys, users, roles, projects, and system settings. It includes analytics dashboards, request tracing, usage logs, and OIDC SSO. The system is designed for multi-tenancy with fine-grained RBAC (scope-based permissions) and privacy policies enforced at the Ent ORM layer. Deployment is supported via Docker, Docker Compose, and Helm charts. The codebase exhibits strong engineering practices: extensive unit and integration tests (including race-condition tests and E2E Playwright tests), pipeline middleware for request transformation, generic caching abstractions, stream processing utilities, and a Zanzibar-inspired authorization framework. While there are minor issues (duplicate utility packages, a typo in a folder name, and some frontend boilerplate repetition), the overall architecture is clean, modular, and well-documented. The project is actively maintained with frequent commits, issue triage, and a clear release process.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 3 reusable components found
envoyproxy/envoy ★ 29056 5653 APPLICATION

Envoy is a cloud-native high-performance edge/middle/service proxy designed for service-to-service communication in modern microservices architectures. It provides traffic management (load balancing, routing, retries), observability (tracing, logging, metrics), security (TLS, authentication, authorization), and resilience features through a modular, extensible plugin architecture. The core is written in C++ with support for extensions in C++, Rust, Go, and WebAssembly. Configuration is managed via Protobuf-defined xDS APIs, enabling dynamic updates without restarts. The project emphasizes performance, security, and observability, with extensive testing and active maintenance. Architecturally, Envoy follows an event-driven, threaded model with worker threads handling connections. Key components include: a server manager for listener/worker lifecycle, network filter chains for connection-level processing, HTTP filter chains for L7 processing, and a configuration subsystem using xDS for dynamic discovery of listeners, clusters, routes, and extensions. Extension points (filters, transports, tracers, etc.) are implemented via a factory registration system, allowing runtime plugin loading through the dynamic module system. Data flow involves ingress connection acceptance, network filter processing, HTTP filter processing (if applicable), upstream connection establishment via load balancer and connection pool, and egress response transmission. Envoy relies on external dependencies including BoringSSL/OpenSSL for TLS, Protobuf for configuration, gRPC for xDS, Abseil for utilities, and various protocol-specific libraries (MongoDB, Redis, etc.) in contrib extensions. The build system is Bazel-centric with complex dependency management. The project shows strong maintenance activity with frequent releases, active issue triage, and ongoing dependency updates. Technical drift is low due to proactive compatibility layers (e.g., OpenSSL shims) and vigilant dependency tracking.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 4 reusable components found
grpc/grpc-node ★ 4843 720 APPLICATION

This repository provides a Node.js implementation of the gRPC (Remote Procedure Call) framework. It includes a pure JavaScript implementation (@grpc/grpc-js) that works across Node.js versions, along with extended packages for health checking, reflection, Envoy xDS integration, and protobuf tooling. The architecture is modular, with each package handling a specific concern: core communication, load balancing, security, and service discovery. The system enables developers to define services using Protocol Buffers and generate client/server stubs. Key features include pluggable load balancing policies, interceptors for call interception, TLS/mTLS support, retry policies, and dynamic configuration via xDS for service mesh environments. Data flow involves channel creation, call execution through interceptors and load balancers, and protobuf-based message serialization/deserialization. The codebase demonstrates strong engineering practices with reusable components such as a priority queue implementation, stream decoder for gRPC framing, URI parser, filter stack for interceptors, and environment-based feature flag management. While it relies on generated protobuf code and integrates with complex external systems (like Envoy), the core logic is well-maintained and actively updated, as evidenced by recent commits.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 8 reusable components found
labring/aiproxy ★ 543 112 APPLICATION

aiproxy is a production-grade AI API gateway written in Go, acting as a unified proxy between client applications and over 40 AI provider APIs (OpenAI, Anthropic, Gemini, etc.). It converts protocol formats (OpenAI, Anthropic, Gemini), handles authentication, rate limiting, load balancing, request caching, and detailed usage billing. The system includes a React admin dashboard for managing channels, tokens, models, groups, logs, and consumption. It also supports the Model Context Protocol (MCP) for integrating AI tool servers, both hosted and proxied. The architecture is monolithic with a plugin system for extensibility, storing state in PostgreSQL and Redis. It demonstrates strong engineering practices including comprehensive test coverage, efficient caching (multi-layer with keyed locks), sliding window rate limiting, and a clean adaptor pattern for provider abstraction.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 2 reusable components found
cloudflare/pingora ★ 27602 1768 APPLICATION

Pingora is a production-grade Rust framework for building fast, reliable, and programmable networked systems, developed and battle-tested at Cloudflare (handling 40M+ requests/second). It provides a modular architecture with crates for HTTP/1.1 and HTTP/2 proxying, TLS termination (OpenSSL, BoringSSL, rustls, s2n-tls), load balancing (weighted round-robin, consistent hashing), caching (LRU, TinyUFO), rate limiting, and observability (Prometheus, Sentry). The core abstraction is the `ProxyHttp` trait, which allows users to define request/response filters, upstream selection, error handling, and module integration via lifecycle hooks. The framework also includes a server lifecycle manager with graceful shutdown, daemonization, and file descriptor transfer for zero-downtime upgrades. The architecture is library-oriented: users compose services by implementing traits and configuring YAML-based server settings. Key entry points include `pingora::Server` for process management, `pingora_proxy::http_proxy_service` for creating proxy services, and `pingora_load_balancing::LoadBalancer` for background health checks and discovery. Data flows involve downstream HTTP sessions (H1/H2), upstream connections via pooled connectors, and optional caching layers with eviction policies. External dependencies include tokio, http, h2, lru, ahash, and various TLS libraries. While primarily an application framework, Pingora contains research-grade components like `tinyufo` (a lock-free cache algorithm with TinyLFU admission and S3-FIFO eviction) and `pingora-ketama` (nginx-compatible consistent hashing). These are packaged as reusable crates with extensive benchmarks and memory profiling. The codebase is well-structured with clean trait-based abstractions, but the large workspace (20+ crates) and multiple TLS backends introduce maintenance complexity. Overall, it is a high-quality, actively maintained framework suitable for building custom proxies, load balancers, and edge services.

RATING: 9.1/10 MAINT: active DRIFT: medium
▸ 6 reusable components found
dotnet/yarp ★ 9622 935 APPLICATION

YARP (Yet Another Reverse Proxy) is a high-performance, extensible reverse proxy toolkit for .NET, built on ASP.NET Core. It provides a library and samples for creating custom proxy servers with features including request forwarding, load balancing (random, round-robin, least-requests, power-of-two-choices), active and passive health checks, session affinity (cookie, hash, ARR, custom header), request/response transforms, and telemetry consumption. The architecture is middleware-based, with a pipeline that includes routing, load balancing, session affinity, health checks, and delegation (Http.sys). Configuration is driven by immutable records and supports dynamic reload via change tokens. YARP also includes a Kubernetes Ingress Controller module that watches Ingress, Service, Endpoint, and Secret resources to dynamically configure the proxy. The codebase demonstrates strong engineering practices: extensive unit and functional tests, pluggable policy interfaces, efficient stream copying with telemetry, and a transform builder pattern for declarative request/response modifications. It is actively maintained by Microsoft and used in production scenarios.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 4 reusable components found
smallnest/rpcx ★ 8319 1178 APPLICATION

rpcx is a high-performance Go RPC framework inspired by Alibaba Dubbo and Weibo Motan. It provides a complete set of features for building microservices: multiple transport protocols (TCP, HTTP, QUIC, KCP, RDMA, io_uring), multiple serialization formats (JSON, Protobuf, MessagePack, Thrift, raw bytes), service discovery (peer-to-peer, DNS, mDNS, Redis, etcd, consul, zookeeper), load balancing (random, round-robin, weighted, consistent hashing, geographic, ICMP-based), fault tolerance (failover, failfast, failtry, failbackup), compression (gzip, snappy), and a plugin system for extensibility. The architecture separates client and server concerns with clear interfaces: RPCClient for low-level communication, XClient for high-level service governance with discovery and load balancing, and Server for hosting services with reflection-based registration. The codebase demonstrates strong engineering practices with extensive use of interfaces, dependency injection, and object pooling for performance. It includes a comprehensive test suite and benchmarks. Key components include a binary protocol with buffer pooling for zero-copy encoding, a plugin container with multiple extension points (pre/post call, connection handling, etc.), a circuit breaker implementation with sliding window, and various selectors for load balancing. The project has been actively maintained with recent refactoring to split large files into focused modules and add method-level service registration. The code is well-structured with clear separation of concerns, though some parts (like the unsafe pointer conversions in util/converter.go) show pragmatic trade-offs for performance.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 3 reusable components found
ossrs/srs ★ 29319 5699 APPLICATION

SRS (Simple Realtime Server) is a high-performance, multi-protocol media streaming server primarily written in C++ with a newer Go-based proxy component (SRSX). It ingests, processes, and delivers live audio/video streams via RTMP, WebRTC (WHIP/WHEP), HLS, HTTP-FLV, SRT, and GB28181. The core C++ engine uses a coroutine model built on state-threads, implements stream forwarding, transcoding via FFmpeg, and provides a full HTTP API for management. The Go proxy component (cmd/proxy, internal/) adds load balancing, Redis integration, and protocol proxying for RTMP/HTTP/WebRTC, designed to scale origin/edge deployments. The repository also includes extensive research code, blackbox integration tests, and vendored third-party libraries (FFmpeg 4, OpenSSL 1.1, gperftools, SRT, libsrtp) that have been customized with a '-fit' suffix. This hybrid architecture is actively developed with multiple CI workflows and a large test suite, though some vendored dependencies are older and may require security updates.

RATING: 8.9/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
apache/dubbo-go ★ 4961 1042 APPLICATION

Apache Dubbo-go is the Go implementation of the Apache Dubbo RPC framework, designed for building high-performance, production-grade microservices. It provides a comprehensive suite of service governance features including service registration and discovery (Zookeeper, Nacos, Etcd, Polaris), multi-protocol support (Triple/gRPC, Dubbo, JSON-RPC, REST), advanced load balancing (Random, RoundRobin, Consistent Hashing, P2C, Alias Method), fault-tolerant clustering (Failover, Failfast, Failsafe, Forking, Broadcast), and an extensible filter chain for cross-cutting concerns like authentication, rate limiting, tracing (OpenTelemetry, Jaeger, Zipkin), and metrics (Prometheus). The architecture follows a plugin/SPI pattern, allowing developers to easily swap or extend core components. It emphasizes interoperability with the Java Dubbo ecosystem and gRPC services. The codebase is large and actively maintained, with extensive test coverage and a rich set of developer tools including a CLI for project scaffolding and a protoc plugin for OpenAPI spec generation. While the project demonstrates high craftsmanship in its core algorithms and abstractions, it carries some technical debt from its Java heritage, including a non-standard Go syntax in some modules and a large dependency surface. It is a robust, production-ready framework suitable for complex distributed systems.

RATING: 8.9/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
ThreeMammals/Ocelot ★ 8718 1680 APPLICATION

Ocelot is a .NET library providing a highly configurable, middleware-based API Gateway for ASP.NET Core applications. It is not a standalone application but a framework that integrates into an ASP.NET Core host via `AddOcelot()` and `UseOcelot()`. Its architecture centers on a fixed-order middleware pipeline that processes incoming HTTP requests through stages including configuration loading, route matching, security, rate limiting, authentication, authorization, load balancing, URL rewriting, and proxying to downstream services. The pipeline is extensible through custom delegates and handlers, and supports advanced features like WebSocket proxying, response aggregation, and circuit breaking. The codebase demonstrates strong engineering practices with a clean separation of concerns across modules for Configuration, Routing, Load Balancing, Quality of Service, Rate Limiting, Caching, and WebSocket proxying. It features an extensive test suite with over a thousand unit and acceptance tests, many of which are linked to specific GitHub issues, indicating rigorous issue-driven development. The configuration system is particularly robust, supporting JSON file merging, environment-specific overrides, dynamic reloading, and fluent validation. While the core architecture is modern and well-maintained, targeting .NET 8 through 10, the codebase exhibits some technical drift. It relies on deprecated dependencies like `Microsoft.Extensions.DiagnosticAdapter` and `Newtonsoft.Json` alongside the newer `System.Text.Json`. There are known concurrency bottlenecks (e.g., a single static lock in rate limiting, blocking calls in the async configuration poller) and a reliance on reflection in unit tests that makes them brittle. Several properties are marked obsolete with planned removal in version 25.0. Despite this debt, Ocelot contains several genuinely reusable components that demonstrate non-obvious craftsmanship, such as a generic, thread-safe Circuit Breaker, a flexible Retry helper, and a clean DSL parser for claim transformations. It is an ideal choice for .NET teams requiring a robust, self-hosted, and extensible API gateway without the overhead of a commercial solution. Its primary value lies in its comprehensive feature set, extensibility, and the quality of its testing infrastructure.

RATING: 8.8/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
apache/dubbo ★ 41582 26354 APPLICATION

Apache Dubbo is a mature, actively maintained Java-based RPC framework and microservices platform. It is not a data research project. The codebase implements a complete distributed service communication solution, including multiple RPC protocols (Dubbo2/TCP, Triple/gRPC-compatible, REST, WebSocket), service discovery and registration (ZooKeeper, Nacos, Apollo, multicast), traffic management (routing, load balancing, circuit breaking), observability (metrics, tracing, monitoring), security (authentication, TLS), and a large set of extension points via a custom SPI mechanism. The architecture is modular and layered, organized into distinct Maven modules for remoting, RPC, cluster, config, registry, metadata, metrics, serialization, and Spring Boot integration. Key entry points include DubboBootstrap for programmatic startup, ServiceConfig/ReferenceConfig for service export/import, and various protocol and registry factories loaded via SPI. The system relies heavily on URL-based configuration, extension loading, and a scope model (framework, application, module, service) for lifecycle and classloader isolation. The codebase is massive (4870 files), with extensive test coverage and active development (last commit 2026-06-29). It demonstrates strong engineering practices: clean abstractions, consistent patterns, backward-compatibility layers (dubbo-compatible), and support for modern Java versions and Spring Boot 3.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 8 reusable components found
yint-tech/sekiro-open ★ 1913 538 APPLICATION

Sekiro is a multi-language, distributed RPC framework designed to expose capabilities from restricted or hard-to-reach environments. The server is a Java application built on Netty that listens on a configurable port (default 5612) and supports three transport protocols: a custom binary protocol (Sekiro native), HTTP, and WebSocket. It acts as a central hub: external consumers send invocation requests (via HTTP or the native protocol), and the server routes them to registered client handlers running in restricted environments (e.g., mobile apps, internal networks). The server maintains client groups with consistent hashing and queue-based load balancing, and handles heartbeats, timeouts, and connection lifecycle. It also includes a built-in proxy for serving documentation and static content. Architecturally, the server uses a protocol detection pipeline (ProtocolDetector) to identify the incoming protocol and install the appropriate handlers. For HTTP, it aggregates requests and delegates to ServiceHttp, which parses parameters and forwards invocations to the appropriate client group. For the native Sekiro protocol, it decodes packets and routes to RouterSekiro, which handles client registration and invoker connections. WebSocket clients are also supported for environments where raw TCP is unavailable. The system is stateless at the server level, with all client state managed in-memory via NettySekiroGroup instances. Key entry points are the Bootstrap.main() method, which starts the Netty server, and the various handler classes (ServiceHttp, RouterSekiro, ServiceSekiroClient, ServiceSekiroInvoker, ServiceWsClient). External dependencies include a custom Netty fork (sekiro-business-api), commons-lang3, SLF4J/Logback, and Lombok. The project uses Maven for building and includes a build script that produces a distributable zip. The codebase demonstrates solid engineering practices: clean separation of concerns, use of Netty's event loop model, a custom single-threaded event loop (Looper) for thread-safe group management, consistent hashing for client allocation, and a sampling-based event recording system for debugging. While the project is not a general-purpose RPC framework, it solves a specific niche (exposing capabilities from restricted contexts) effectively and with reasonable code quality.

RATING: 8.4/10 MAINT: active DRIFT: low
▸ 4 reusable components found
spring-cloud/spring-cloud-netflix ★ 4969 2452 APPLICATION

This repository is the Spring Cloud integration layer for Netflix Eureka, providing both client-side service registration/discovery and an embedded Eureka server. It is a library, not a standalone application, designed to be consumed by Spring Boot microservices. The architecture is a multi-module Maven project with clear separation between client (`spring-cloud-netflix-eureka-client`), server (`spring-cloud-netflix-eureka-server`), and starter modules. In production, it enables Spring Boot applications to automatically register with a Eureka server, discover other services via `EurekaDiscoveryClient` or `EurekaReactiveDiscoveryClient`, and integrate with Spring Cloud LoadBalancer for zone-aware routing. The server module provides a full Eureka registry with a web dashboard, peer replication, and Micrometer-based metrics. The codebase demonstrates strong Spring Boot auto-configuration patterns, including conditional HTTP client selection (Jersey, RestClient, WebClient), health check aggregation, and config server bootstrapping. While actively maintained with a sophisticated release train CI system, the project carries significant technical debt from its long history. It still defaults to the deprecated Jersey HTTP client, relies on an older version of Netflix Eureka (2.0.6), and has several disabled flaky tests. The tight coupling to Netflix's proprietary libraries limits its reusability outside the Spring Cloud ecosystem, but the patterns it demonstrates for service discovery integration are well-crafted and instructive.

RATING: 8.2/10 MAINT: active DRIFT: medium
▸ 9 reusable components found
acassen/keepalived ★ 4670 778 APPLICATION

Keepalived is a production-grade Linux daemon for high-availability and load balancing. It implements VRRP v2/v3 for router failover, integrates with the Linux Virtual Server (IPVS) kernel module for Layer 4 load balancing, and includes a suite of health checkers (HTTP, SSL, TCP, UDP, SMTP, DNS, PING, MISC) plus BFD for fast failure detection. The architecture is multi-process: a parent process manages dedicated children for VRRP, checkers, and BFD, coordinating reloads and termination via signals and eventfd. It deeply interacts with the Linux kernel through netlink, nftables/iptables, raw sockets, and proc connector, and exposes operational interfaces via SNMP, D-Bus, JSON state dumps, SMTP alerts, and notification scripts. The codebase is written in C with careful attention to Linux-specific features, including network namespaces, VRFs, VMAC/macvlan, and multicast group handling. It is a mature, widely deployed critical infrastructure component rather than a research artifact or library.

RATING: 8.2/10 MAINT: active DRIFT: medium
▸ 6 reusable components found
Nya-Foundation/NyaProxy ★ 986 17 APPLICATION

NyaProxy is a lightweight API gateway/proxy service built with FastAPI and Uvicorn that manages authentication, credential rotation, load balancing, rate limiting, and observability for HTTP APIs. It acts as an intermediary between clients and upstream services, injecting credentials, enforcing quotas, and providing features like retry logic, key quarantine, and request/response transformation. The system includes a web dashboard for monitoring traffic, metrics, and queue status, and exposes Prometheus metrics for external monitoring. The architecture follows a modular design with separate concerns: core proxy logic (queue-first request handling), traffic management (load balancing and rate limiting), configuration management (using Nacho for layered config and schema validation), services (metrics, state persistence), and a dashboard interface. Requests are processed via a priority queue with worker pools, enabling prioritization of retries and high-priority requests. State persistence saves rate limit windows and key cooldowns to disk using SHA256-hashed keys to avoid storing secrets, allowing survival across restarts. Key entry points include the CLI (`python -m nya` or `nyaproxy` script) and the main application factory in `nya/server/app.py`. The system relies on dependencies like FastAPI, Uvicorn, Pydantic, Nacho, and the Prometheus client, with explicit version pins in `pyproject.toml` and regular updates shown in the changelog. The codebase demonstrates strong engineering practices including comprehensive test coverage (unit and end-to-end), secure secret handling, and clean separation of concerns.

RATING: 8.1/10 MAINT: active DRIFT: low
▸ 3 reusable components found
vesoft-inc/nebula-java ★ 199 125 APPLICATION

This repository is the official Java client for Nebula Graph, a distributed graph database. It provides connectivity to Nebula Graph's graph, meta, and storage services through Thrift-based RPC. The client supports connection pooling, session management, SSL/TLS encryption, and HTTP/2 transport. Key features include load balancing across database nodes, automatic reconnection, and type-safe wrappers for Nebula's data types (values, vertices, edges, paths, geospatial). The architecture separates concerns into graph client (query execution), meta client (schema/cluster management), and storage client (direct data access). Examples demonstrate usage patterns for session pooling, SSL configuration, and storage scanning.

RATING: 7.9/10 MAINT: maintained DRIFT: low
▸ 5 reusable components found
$ loading more...
$ submit: