Re:Perspective: Streaming pivot visualization via WebAssembly
by texodus on Tuesday February 06, 2018 @12:59PM
(#16318006)
The boundary-crossing is definitely the bottleneck right now. We are currently putting alot of work into the Apache Arrow support specifically to avoid this crossover, which will allow us to send data from the server in binary and avoid parsing in the browser.
[ Parent
| on HN ]
Re:Perspective: Streaming pivot visualization via WebAssembly
by polskibus on Tuesday February 06, 2018 @01:36PM
(#16318297)
Can you elaborate on how that could work? Does arrow really allow for abstracting away the need for serialization even in JS - server scenarios? I though it was more of a shared memory data frame utility ?
Re:Perspective: Streaming pivot visualization via WebAssembly
by texodus on Tuesday February 06, 2018 @03:11PM
(#16319155)
There is an early arrow example in the examples package - superstore-arrow.html. The idea is that, instead of converting your data to internet->text->JSON->ArrayBuffer, you just keep the data in binary and write it directly into the C++ heap ArrayBuffer as-is. We currently do not read this in C++ directly for various reasons related to how emscripten allocates memory, but the general idea is the same.
Re:Perspective: Streaming pivot visualization via WebAssembly
by BenGosub on Tuesday February 06, 2018 @01:35PM
(#16318283)
bringing Apache Arrow in the browser alongside wasm is exciting to say the least! Amazing capabilities are coming to browsers...
Re:Perspective: Streaming pivot visualization via WebAssembly
by lmeyerov on Tuesday February 06, 2018 @09:00PM
(#16321711)
We (Graphistry) recently contributed a native JS reader/writer into the Apache Arrow project, so may help both teams! We did it as legwork for our beyond-native efforts (GPU cloud streaming) and taming our JS datatypes, so similar needs here I'm guessing!
Funny enough: was in NYC today talking with banking teams about related tech. Too bad we didn't know about this effort, would have loved to meet!
Re:Perspective: Streaming pivot visualization via WebAssembly
by texodus on Wednesday February 07, 2018 @05:37AM
(#16323543)
Yes, this is the library we use.
We have met before actually, you did a demo at JPM in midtown several years back. Graphistry has come a very long way since then - impressive work!