4 个仓库
Techniques for optimizing how related data is retrieved from a database to minimize round-trips.
Distinct from Data Fetching Optimizers: Distinct from web-development fetchers; focuses specifically on ORM-level entity graphs and fetch profiles within a database context.
Explore 4 awesome GitHub repositories matching data & databases · Data Fetching Optimizations. Refine with filters or upvote what's useful.
Hibernate ORM 是一个 Java 对象关系映射器,也是 Jakarta Persistence API 的完整实现。它作为 SQL 数据库抽象层,将 Java 对象模型转换为关系数据库模式,以管理数据持久化和生命周期。 该框架以其多租户数据隔离框架而著称,可在单个数据库实例中分离客户数据。它还具有数据库模式生成器,可根据实体映射自动生成和更新关系结构。 该系统涵盖了广泛的功能领域,包括事务管理、并发锁定控制以及用于审计日志的时间数据跟踪。它通过实体图策略提供数据获取优化工具,并支持向量数据和国家化字符等高级数据类型。 该项目包含一套全面的持久层测试工具,包括数据库方言过滤和规范合规性测试。
Implements techniques for optimizing how related entities are retrieved to minimize database round-trips.
GraphQL.NET 是一个用于在 C# 应用程序中构建和执行 GraphQL API 的服务端框架。它提供了一套全面的工具包,用于模式构建、分布式数据图的联合引擎,以及用于管理实时数据流的订阅处理器。 该项目的独特之处在于其灵活的模式构建器,支持程序化的代码优先定义和使用标准模式定义语言的声明式模式优先方法。它包括一个专门的联合引擎,用于将数据图拆分为子图并将其组合成统一的网关,以及一个专门设计用于通过批处理和缓存解决 N+1 查询问题的数据加载器实现。 该框架涵盖了广泛的操作功能,包括用于服务生命周期管理的依赖注入集成、用于字段解析拦截的中间件流水线,以及针对值类型优化以减少内存分配的执行流水线。它还提供用于查询复杂度分析、文档缓存和基于角色的访问控制的工具,以保护 API 端点。 对提前(AOT)模式编译的支持允许该框架在禁止动态代码生成的环境中执行。
Optimizes data retrieval by batching multiple requests into single calls to minimize database round-trips.
graphql-go is a server library for implementing GraphQL servers in Go. It provides the core infrastructure for schema parsing, resolver mapping, and query execution. The library includes a subscription engine that enables real-time data streaming to clients using WebSocket transport. It also features an execution tracer for monitoring and profiling query performance through telemetry tools. The system manages resource consumption and stability through a query optimizer that enforces depth restrictions and controls resolver concurrency. It supports data fetching optimization via field-level p
Analyzes child fields and arguments to prefetch data and eliminate repetitive database requests.
graphql-go is a schema-first GraphQL library and server implementation for Go. It provides a query execution engine and schema parser that converts schema definition strings into executable structures and validates resolver signatures. The library also includes a streaming implementation for real-time GraphQL subscriptions using channels within resolvers. The project distinguishes itself through parallel resolver execution to reduce request latency and the use of buffer-pool memory management to lower garbage collection overhead. It enables the creation of cloneable schema instances from a sh
Implements prefetching and batching strategies by inspecting requested fields to minimize database round-trips.