15 个仓库
Centralized storage of remote information in flat structures to prevent duplication.
Distinguishing note: Focuses on the normalization strategy rather than general-purpose key-value storage.
Explore 15 awesome GitHub repositories matching data & databases · Normalized Data Caching. Refine with filters or upvote what's useful.
Apollo Client is a GraphQL client library and data fetching framework used to request data from a GraphQL server and synchronize that state within a frontend application. It functions as a remote state manager and a local state management tool, allowing developers to define client-side schemas and resolvers for data that does not reside on a remote server. The project features a normalized GraphQL cache that identifies objects by ID to ensure referential equality and consistent data updates across different queries. It also includes a GraphQL API mocking tool to simulate server responses and
Implements a normalized cache that identifies objects by ID to ensure referential equality across different queries.
Apollo Client is a frontend GraphQL integration layer and client library used to fetch, manage, and cache data from a GraphQL server in web and mobile applications. It functions as a state management framework that synchronizes remote server data with local application state. The project provides a TypeScript wrapper for executing GraphQL queries and mutations, ensuring type-safe API integration with automatic validation and code completion. The library manages data fetching and synchronization between the backend and the user interface. It includes capabilities for caching GraphQL results l
Provides a normalized cache that flattens nested GraphQL responses to prevent data duplication.
Relay is a GraphQL client framework and state manager used for building data-driven applications. It functions as a declarative data fetching layer and a GraphQL compiler that transforms declarations into optimized runtime code with automatic type generation. The framework distinguishes itself through a build-time compilation process that generates optimized queries and a data masking system that prevents components from accessing undeclared data. It employs a normalized client-side cache to maintain consistency across entities and an optimistic update mechanism to provide immediate interface
Stores data in a flat map by unique identifiers to maintain consistency across different components sharing the same entity.
This project is a GraphQL implementation for Go, providing a complete suite for building GraphQL servers. It includes a schema engine for defining types, a query parser to convert strings into abstract syntax trees, and an execution engine that resolves fields against a defined schema to return structured data. The library distinguishes itself through reflection-based type mapping, allowing object definitions and arguments to be derived directly from native Go structs. It also supports the execution of real-time data streaming via GraphQL subscriptions and provides an extensible execution pip
Replaces literal field arguments with synthetic variables to create a canonical query shape for execution caching.
urql is a GraphQL client library designed for fetching and managing data from a GraphQL API. It provides a system for handling GraphQL data fetching, state management, and integration with React components. The library is distinguished by a middleware pipeline architecture that allows the request-response flow to be modified through swappable exchanges. This enables the customization of the data layer, including the addition of custom business logic, request deduplication, and specialized fetching behaviors. The project covers a broad range of capabilities, including normalized caching to en
Ships a normalized cache that flattens nested GraphQL responses to ensure data consistency across the application.
urql is a GraphQL client and data management tool used to execute GraphQL operations and synchronize data from remote servers within a software application. It functions as a mechanism for fetching, caching, and managing GraphQL data to maintain state across application views. The project features a pluggable middleware architecture and a normalized GraphQL cache. This allows for the insertion of custom logic into the request and response lifecycle to modify client behavior and the organization of responses by unique identifiers to ensure data consistency. The client provides capabilities fo
Provides a normalized cache that stores GraphQL data by unique identifiers to maintain consistency across views.
React Apollo is a React-specific GraphQL data fetching library that binds Apollo Client to components through declarative hooks for queries, mutations, and subscriptions. It provides a declarative approach to GraphQL query execution where components declare their data requirements and automatically receive loading, error, and data states without managing request lifecycle code. The library distinguishes itself through a normalized cache layer that deduplicates entities and serves repeated requests without network calls, combined with incremental result streaming via the @defer directive for
Ships a normalized client-side cache that deduplicates GraphQL entities and serves repeated requests without network calls.
Pixie is an open-source observability platform for Kubernetes that uses eBPF to automatically capture telemetry data from clusters without requiring any manual instrumentation or code changes. It functions as an eBPF telemetry collector, a continuous application profiler, a network traffic analyzer, and a scriptable telemetry query engine, all within a single Kubernetes-native tool. The platform distinguishes itself through several integrated capabilities. It continuously samples stack traces from compiled-language code to identify CPU performance bottlenecks, visualizing the results as inter
Groups similar SQL queries by replacing constants with placeholders to analyze performance per query pattern.
Vue Apollo is a GraphQL integration library for Vue applications that connects Vue components to GraphQL APIs using Apollo Client. It provides a reactive data layer for querying, mutating, and subscribing to data from GraphQL endpoints, with automatic cache updates and real-time subscription support. The library offers multiple API surfaces for working with GraphQL data, including slot-based declarative components, composable functions for the Composition API, and Options API integration. It handles the full lifecycle of GraphQL operations, from automatic data fetching with reactive queries t
Stores normalized GraphQL data in a client-side cache that automatically updates when queries or mutations return new results.
本项目是一个用于实现 Apollo GraphQL 客户端的交互式学习资源和教程。它提供了一种引导式的教学体验,旨在教授前端数据管理,特别侧重于如何将 Web 应用连接到 GraphQL 数据源。 该平台使用一系列动手课程和交互式代码演练。这些模块将教学文本与可执行代码块相结合,以演示实时 API 行为以及将 GraphQL 集成到前端框架中。 课程涵盖使用声明式查询和模式驱动的数据获取来管理远程数据。它还包括关于利用规范化缓存存储进行客户端状态管理和同步的指导。
Teaches how to use normalized caches to ensure referential consistency across different views in the UI.
Varnish Cache 是一个 HTTP 反向代理缓存、流量管理器和边缘内容交付工具。它作为一个 HTTP 加速器,将响应存储在内存中以减少后端负载并提高交付速度。该系统还可用作 TLS 终止代理,并使用编译语言定义请求处理和缓存逻辑的配置引擎。 该项目的独特之处在于其编译后的配置语言,它将特定的领域逻辑转换为机器码,以线速执行请求处理。它提供高性能的内存中心化存储和专门的缓存管理,例如用于有针对性地清除相关对象的代理键失效。 该平台涵盖了广泛的流量管理和优化功能,包括动态后端路由、请求速率限制和后端健康隔离。它支持 URL 查询字符串和标头的内容规范化,以及 HMAC 签名计算等安全功能。 该软件支持通过容器镜像和 Kubernetes Helm Chart 进行云原生部署。
Improves cache hit rates by filtering, sorting, and removing redundant query parameters from incoming URLs.
apollo-ios is a GraphQL client library for iOS and Apple platforms that enables type-safe network communication. It transforms GraphQL operations into generated Swift models, ensuring that network responses are validated at compile time to eliminate manual mapping. The library features a normalized cache manager that stores entities in a flat structure to maintain data consistency across different application views. It also optimizes network performance using hash-based persisted queries to reduce payload sizes and supports real-time data streaming via WebSockets or HTTP subscriptions. The p
Implements a client-side cache that normalizes GraphQL results by unique identifiers to ensure data consistency.
Apollo Kotlin is a strongly-typed GraphQL client and code generation library designed for Kotlin and JVM applications. It functions as a comprehensive development tool that transforms GraphQL schema definitions and query documents into type-safe models during the build process, ensuring that data access errors are identified at compile time rather than at runtime. The project distinguishes itself through its multiplatform runtime abstraction, which allows developers to share data fetching and caching logic across Android, iOS, and desktop environments. It provides a normalized local caching s
Maintains a normalized local cache of GraphQL query results to ensure data consistency and enable offline functionality across platforms.
Apollo Android 是一个强类型的 GraphQL 客户端库,用于在 JVM、Android 和 Kotlin Multiplatform 上执行查询和变更。它包含一个代码生成工具,可从 GraphQL 模式和操作文件中创建不可变类和解析器,以确保编译时的类型安全。 该项目具有一个规范化缓存,将响应扁平化为查找表以维护单一事实来源。它还提供了一个订阅客户端,用于通过 WebSocket 或 SSE 连接进行实时服务器端数据更新,以及一个用于模拟服务器响应和生成测试用假类型安全数据的 Mock 框架。 该库涵盖了广泛的功能,包括通过请求批处理和持久化查询进行网络优化,以及通过乐观更新和分页管理本地数据状态。它支持集成自定义 HTTP 引擎,并将自定义标量类型映射到原生语言类。 该工具与开发 IDE 集成,提供从编辑器到定义的自动代码生成和导航功能。
Implements a client-side cache that normalizes GraphQL query results by unique identifiers to ensure referential consistency.
This project is a client-side data management library and query orchestrator designed to synchronize remote server state with local client state. It functions as a type-safe state manager and cache orchestrator that coordinates data loading across diverse backends, including REST, GraphQL, and WebSockets. The system distinguishes itself through a durable workflow engine for executing asynchronous functions with persisted state and deterministic replay. It also provides a standardized AI integration adapter to connect large language models to application data, supporting real-time response str
Stores API data in normalized in-memory collections to maintain coherence across the application.