couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Bénel <aurelien.be...@utt.fr>
Subject Re: view crashes chrome
Date Tue, 05 Mar 2013 16:40:47 GMT
Hi Alexander,

> - the application loads all flora species with all their information as objects into
memory (...)
> - when the user adds a filter criterion the application loops through all objects and
eliminates the ones not fulfilling the criterion (...)
> - now the user can download the data (which is converted to .csv)


If you have so much data, you should do more on the server-side using the power of MapReduce
:
- while the user is building its filter criteria, get from the server reduced data (a synthesis
or an extract),
- then, when it's done, get the CSV directly from the server (as a CouchDB "list"). 


Regards,

Aurélien
Mime
View raw message