2 Repos
External libraries used to implement custom query routing rules and logic.
Distinct from Query Extensions: Focuses specifically on the routing of database queries, whereas Query Extensions refers to general query engine logic.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Routing Extensions. Refine with filters or upvote what's useful.
RouteLLM is a routing framework and traffic manager designed to direct prompts between high-capability and low-cost large language models. It functions as an API gateway that mimics the OpenAI specification to route requests across different model providers. The system optimizes operational costs by splitting traffic between model tiers based on predicted win rates and prompt complexity. It includes a calibration tool to analyze sample queries and determine the optimal cost-quality tradeoff for traffic distribution. The framework provides a tool for measuring the accuracy and cost efficiency
Provides an extensible interface for developers to implement custom routing algorithms and win-rate predictors.
pgdog is a PostgreSQL sharding proxy, distributed SQL router, and connection pooler. It is designed to enable horizontal data distribution by splitting tables and indices across multiple independent servers to scale storage and processing capacity. The project distinguishes itself through online resharding capabilities, using logical replication to move data between shards without application downtime. It supports multiple routing strategies, including hash, list, and range-based query routing, and manages distributed atomic transactions using a two-phase commit process to ensure consistency
Provides a plugin architecture for extending SQL routing logic via shared libraries.