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 [文件列表]