4 ms·
Server-side crossfilter, eliminating the need to download the full dataset to the browser (https://github.com/ZJONSSON/crossfilter https://github.com/ZJONSSON/c
by zjonsson 14y ago
Server-side crossfilter, eliminating the need to download the full dataset to the browser (https://github.com/ZJONSSON/crossfilter https://github.com/ZJONSSON/crossfilter).
Maps from LMI.is, which just released it's geographic data free of charge (http://www.lmi.is/stafraen-kort-og-landupplysingar-lmi-gerd-gjaldfrjals/ http://www.lmi.is/stafraen-kort-og-landupplysingar-lmi-gerd-...)
- maximz 14y agoCool app! Besides crossfilter, is the source available somewhere? Thanks.
- zjonsson 14y agoThanks for the comments, I copied to github for cleaner access to the source. Let me know if this is helpful: https://github.com/ZJONSSON/icequake.herokuapp.com https://github.com/ZJONSSON/icequake.herokuapp.com
- milroc 14y agohey Zjonsson, I think this is awesome, have you considered having a webworker run in the background to send the data to the browser and then switch once it has finished? The time to interactivity (and visibility) of crossfilter is a problem, and I think you did a great job solving that problem, I just don't find the interactivity to be as great as I was expecting (then again I'm on a slow connection currently).
- zjonsson 14y agoA great idea, however the web workers would have to be semi-persistent as the initial build of the crossfilter object takes some time (i.e. I wouldn't spawn a new worker on a new request). Here I simply increased the heroku nodes to respond smoothly to Hackernews traffic. I'm pretty happy with the results.