t27duck / active_reporting

OLAP-like DSL for ActiveRecord-based reporting
MIT License
136 stars 19 forks source link

Performance? #11

Closed mikhail-sytchev closed 6 years ago

mikhail-sytchev commented 6 years ago

What about performance? I mean, you are using OLTP database (Postgres) for OLAP queries. The key value of this gem is to change developer's mindset first to treat reports functionality as a set of reporting best practices? Or it's aimed to increase reports render speed?

t27duck commented 6 years ago

I'd say it's more about the former. You'd in theory get some small speed boost due to the gem not instantiating active record objects and instead returning basic hashes generated from more targeted queries.

mikhail-sytchev commented 6 years ago

thnx