2 个仓库
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 是一个路由框架和流量管理器,旨在将提示词(prompts)在高性能模型和低成本大语言模型之间进行智能分发。它作为一个模拟 OpenAI 规范的 API 网关,能够跨不同的模型提供商路由请求。 该系统通过基于预测胜率和提示词复杂度将流量分配到不同模型层级,从而优化运营成本。它包含一个校准工具,用于分析样本查询并确定流量分配的最佳成本-质量平衡点。 该框架提供了一个使用基准数据集衡量路由策略准确性和成本效率的工具,并通过基于接口的插件和自定义路由逻辑支持扩展性。
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.