Skip to content
Sections
>> Trisquel >> Paquets >> nabia >> ruby >> ruby-batch-loader
nabia  ] [  aramo  ]
[ Paquet source : ruby-batch-loader  ]

Paquet : ruby-batch-loader (1.4.1+dfsg.1-3)

Powerful tool to avoid N+1 DB or HTTP queries

This library provides a generic lazy batching mechanism to avoid N+1 DB queries, HTTP queries, etc.

Highlights

 * Generic utility to avoid N+1 DB queries, HTTP requests, etc.
 * Adapted Ruby implementation of battle-tested tools like Haskell Haxl, JS
   DataLoader, etc.
 * Batching is isolated and lazy, load data in batch where and when it's
   needed.
 * Automatically caches previous queries (identity map).
 * Thread-safe (`loader`).
 * No need to share batching through variables or custom defined classes.
 * No dependencies, no monkey-patches, no extra primitives such as Promises.

Autres paquets associés à ruby-batch-loader

  • dépendances
  • recommandations
  • suggestions

Télécharger ruby-batch-loader

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
all 12,3 ko40 ko [liste des fichiers]