Increase Your Rails Application Reporting Speed by 10x with Sunspot's Stored Values

In my previous post I introduced Solr and Sunspot along with a basic use case to get up and running with Rails. Here, I’ll dive in to what originally brought me to Sunspot, stored attributes. Wouldn’t it be great if you could dynamically generate a field to save complex calculations on your models with having to add columns to your database, and be sure that these calculations are kept up to date? This would especially be helpful for generating reports or views where you have lots of complex data that would normally take long to both load and calculate. Look no further, Solr’s stored attributes on hits have you covered.


Increase Your Rails Application Reporting Speed by 10x with Sunspot's Stored Values #ruby #rubydeveloper #rubyonrails #application https://rubyonrails.ba/single/increase-your-rails-application-reporting-speed-by-10x-with-sunspots-stored-values

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles