awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
graphql avatar

graphql/dataloader

0
View on GitHub↗
13,380 stele·514 fork-uri·JavaScript·MIT·2 vizualizări

Dataloader

DataLoader is a utility that collects individual data loads into a single batch and caches results to minimize redundant backend requests. It operates on a batch-and-cache architecture, where multiple data lookups within a single execution frame are grouped together and dispatched as one request, with the results stored in memory for instant retrieval on subsequent calls.

The utility distinguishes itself through several key capabilities. It supports per-key error handling, allowing partial failures within a batch without rejecting the entire operation. A cache priming mechanism lets developers pre-populate the cache with known key-value pairs, while explicit cache invalidation methods enable clearing specific keys or the entire cache to force fresh data loads. The cache store is pluggable, allowing the default in-memory Map to be replaced with alternative implementations such as an LRU cache. A scheduler-based dispatch system provides control over when accumulated loads are sent as a batch, supporting manual triggering or delayed execution.

The broader capability surface includes batch data loading, caching data lookups, and custom cache strategies. The documentation covers configuration for customizing batch scheduling and swapping cache stores, as well as methods for loading multiple keys and clearing cached entries.

Features

  • Data Batching and Caching Utilities - Collects multiple data loads into a single batch and caches results to reduce backend requests.
  • Batched Data Loading - Collects multiple individual data requests into a single batch to reduce backend round trips.
  • Request Batching - Collects individual data loads into batches and caches results to minimize redundant backend requests.
  • Resolved Value Caching - Cache loaded values in memory so repeated key lookups resolve instantly without a backend call.
  • Key-Value Batching - Accepts an array of keys and resolves each to its value or an error, handling partial failures.
  • Custom Batch Triggers - Controls when a batch of collected loads is dispatched, enabling manual triggering or delayed execution.
  • Cache Priming Mechanisms - Provides a cache priming mechanism to pre-populate the cache with known key-value pairs.
  • Cache Priming - Pre-populates the cache with known key-value pairs to avoid unnecessary backend requests for expected data.
  • Cache Clearing - Clear cached entries by removing a specific key or the entire cache to force fresh data loads.
  • Pluggable Cache Implementations - Replaces the default in-memory cache with alternative implementations like LRU to manage memory.
  • Pluggable Cache Stores - Replaces the default in-memory Map with any cache implementation, such as an LRU cache.
  • Cache Priming Operations - Primes the cache with known key-value pairs so future loads return immediately without a backend request.
  • Cache Invalidation - Provides methods to clear specific keys or the entire cache to force fresh data loads.
  • Load Dispatch Schedulers - Uses a custom scheduler to control when accumulated loads are dispatched as a batch.
  • Custom Batch Dispatch Schedulers - Controls when batched loads are dispatched through custom schedulers for manual or delayed execution.
  • Partial List Error Handling - Resolves each key individually in a batch, allowing partial failures without rejecting the entire batch.
  • Pluggable Cache Backends - Allows swapping the default in-memory Map cache with any external cache implementation.

Istoric stele

Graficul istoricului de stele pentru graphql/dataloaderGraficul istoricului de stele pentru graphql/dataloader

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Dataloader

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Dataloader.
  • netflix/falcorAvatar Netflix

    Netflix/falcor

    10,572Vezi pe GitHub↗

    Falcor is a JavaScript library that models remote data as a single virtual JSON graph, providing a path-based query engine for efficient client-side data retrieval and updates. It represents multiple remote data sources as a unified document where entities are accessed via globally unique identity paths. The system distinguishes itself by treating the remote data model as a virtual JSON resource, allowing the client to query specific paths without managing individual endpoints. It uses a reference-aware graph model to handle many-to-many relationships and prevents data duplication. Network ef

    JavaScript
    Vezi pe GitHub↗10,572
  • hayes/pothosAvatar hayes

    hayes/pothos

    2,576Vezi pe GitHub↗

    Pothos is a code-first GraphQL schema builder and framework designed for type-safe development. It allows developers to construct schemas using typed definitions in TypeScript, eliminating the need for external code generation steps. The framework distinguishes itself through a dedicated data mapper that connects GraphQL types to relational databases and ORMs, such as Prisma, while optimizing query resolution. It provides a full implementation of the Relay specification, including global object identification and cursor-based pagination. The project covers several core capability areas, incl

    TypeScriptgraphqltypescript
    Vezi pe GitHub↗2,576
  • chillicream/hotchocolateAvatar ChilliCream

    ChilliCream/hotchocolate

    5,713Vezi pe GitHub↗

    HotChocolate is a GraphQL server implementation for .NET that handles queries, mutations, and subscriptions over HTTP. It provides code-first schema generation directly from C# classes and attributes, keeping the schema and business logic in sync without manual type definitions. The project also includes a GraphQL gateway that composes multiple GraphQL and REST endpoints into a single unified schema, along with a GraphQL IDE for exploring, testing, and debugging GraphQL APIs interactively. The project distinguishes itself through its comprehensive tooling ecosystem, which includes a GraphQL c

    C#
    Vezi pe GitHub↗5,713
  • chillicream/graphql-platformAvatar ChilliCream

    ChilliCream/graphql-platform

    5,712Vezi pe GitHub↗

    GraphQL Platform is a comprehensive GraphQL ecosystem for .NET that provides a spec-compliant server framework for building APIs and gateways, along with a typed C# client for consuming GraphQL services. At its core, it translates C# classes and methods into a GraphQL schema using code-first or fluent descriptor approaches, enabling developers to define their API structure directly from their existing .NET code. The platform distinguishes itself through several integrated capabilities that address common GraphQL production concerns. It includes a DataLoader batching and caching engine that gr

    C#asp-netasp-net-corec-sharp
    Vezi pe GitHub↗5,712
Vezi toate cele 30 alternative pentru Dataloader→

Întrebări frecvente

Ce face graphql/dataloader?

DataLoader is a utility that collects individual data loads into a single batch and caches results to minimize redundant backend requests. It operates on a batch-and-cache architecture, where multiple data lookups within a single execution frame are grouped together and dispatched as one request, with the results stored in memory for instant retrieval on subsequent calls.

Care sunt principalele funcționalități ale graphql/dataloader?

Principalele funcționalități ale graphql/dataloader sunt: Data Batching and Caching Utilities, Batched Data Loading, Request Batching, Resolved Value Caching, Key-Value Batching, Custom Batch Triggers, Cache Priming Mechanisms, Cache Priming.

Care sunt câteva alternative open-source pentru graphql/dataloader?

Alternativele open-source pentru graphql/dataloader includ: netflix/falcor — Falcor is a JavaScript library that models remote data as a single virtual JSON graph, providing a path-based query… hayes/pothos — Pothos is a code-first GraphQL schema builder and framework designed for type-safe development. It allows developers… chillicream/graphql-platform — GraphQL Platform is a comprehensive GraphQL ecosystem for .NET that provides a spec-compliant server framework for… chillicream/hotchocolate — HotChocolate is a GraphQL server implementation for .NET that handles queries, mutations, and subscriptions over HTTP.… async-graphql/async-graphql — async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses… facebook/haxl — Haxl is a Haskell library and remote service request orchestrator designed for coordinating concurrent data fetching,…