Grain keeps dashboard aggregates pre-computed and up to date inside your own Postgres database. You declare the grain of an aggregate once — tenant, time bucket and dimensions — and database triggers record what changed so a worker can rebuild just the affected cells, instead of recomputing everything on a schedule. No new infrastructure, no materialized view refresh storms, and a verify command that proves the aggregate still matches its source.

Required Ruby Version

>= 3.2.0

Authors

Oscar Ortega

Versions

  1. 0.0.3 August 21, 2026 (51.5 KB)
  2. 0.0.2 August 21, 2026 (50.5 KB)
  3. 0.0.1 August 20, 2026 (40 KB)
Show all versions (5 total)

Pushed by

SHA 256 checksum