Skip to content
Sections
>> Trisquel >> パッケージ >> nabia >> ruby >> ruby-batch-loader
nabia  ] [  aramo  ]
[ ソース: ruby-batch-loader  ]

パッケージ: 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.

その他の ruby-batch-loader 関連パッケージ

  • 依存
  • 推奨
  • 提案

ruby-batch-loader のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 12.3 kB40 kB [ファイル一覧]