-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow mechanism to "stream" data to the widget in chunks #90
Comments
I see what you're trying to do, but unfortunately this will not be possible: the entire dataset must be scanned for every re-render. How much data are you trying to put through here, in megabytes and in number of records? |
It is about 230MB. I ended up breaking the data into separate json text This sounds like it would take a major rewrite, but I had to ask :) Thanks. On Wed, Dec 4, 2013 at 7:46 AM, Nicolas Kruchten
**** Ivan Quintero |
Yeah, sorry... You may have some luck in transmitting the data in CSV format to the browser and having the browser decode it into JS objects, similar to http://nicolaskruchten.github.io/pivottable/examples/local.html |
Couple ideas FWIW -- they may or may not be applicable to your situation:
|
FYI. In my particular problem with large JSON datasets, I found that Chrome and Safari crash when performing the same data fetch and processing. Have not tried out Explorer. By the way, I fetch the data from server JSON text files using the On Wed, Dec 4, 2013 at 4:45 PM, fastcatch notifications@github.com wrote:
**** Ivan Quintero |
What you say about browsers is interesting... I've found bigger performance issues in Firefox than in Chrome, personally, and I've happily loaded more than 50 megs of data without an issue. (Edit, sorry, I misread my benchmark: this should read 50k records) |
I am also surprised by this. I always done testing on Chrome, but it choked Go figure. On Thu, Dec 5, 2013 at 7:51 AM, Nicolas Kruchten
**** Ivan Quintero |
How many records are in your 230Mb? And how many attributes per record? Also please note my edit in my last comment above: I don't think I've tried loading 50-meg CSVs, it was 50k-record CSVs I was working with. You may also find the discussion in issue #36 to be enlightening. |
Hi nicholas. There are about 500k JSON records, but the records have a Cheers, On Thu, Dec 5, 2013 at 8:29 AM, Nicolas Kruchten
**** Ivan Quintero |
What I am trying to ask for is a way for PivoTable to be "fed" data continuously, in a streaming fashion, and have the UI update itself as the data is processed.
The reason I am asking for this is, again, to try to overcome browsers limits on the size of the JSON objects that it receives from sources (usually ajax responses).
I managed to mitigate this by sending ajax requests in chunks. However, the resulting data object (the one that gathers all the data from the source) is still huge and the browser crashes.
By feeding data to the widget in this fashion, I assume, there would not be a need to store the data in one single large array/json object.
The text was updated successfully, but these errors were encountered: