fhir-crucible / crucible

🔥 Crucible web application for testing FHIR servers
77 stars 25 forks source link

Performance updates for front page. #197

Closed arscan closed 8 years ago

arscan commented 8 years ago

I couldn't get it to pull in the summary object for each server on the front page query without major performance problems. So I pulled in the one field that I needed from summaries up into the server collection -- the generated_at field. This is something that we are already doing with percent_passing, so I'm not adding any addition overhead/complexity that isn't already in there. We just need to run the new rake task in production once to copy up the data so that the date sort works properly without having to rerun all servers.