You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Paul Taylor (Jira)" <ji...@apache.org> on 2020/09/19 20:00:00 UTC

[jira] [Commented] (ARROW-9860) [JS] Arrow Flight JavaScript Client or Example

    [ https://issues.apache.org/jira/browse/ARROW-9860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17198828#comment-17198828 ] 

Paul Taylor commented on ARROW-9860:
------------------------------------

JS does not support buffer-level compression, and possibly shouldn't ever, due to the significant drawbacks of adding JS or WASM-based compression implementations to the browser bundles such as perf hit in the readers/writers, significant addition to library size, etc.

The only widely/natively supported deflate implementation in browsers is gzip (and to a lesser extent, brotli), but deflate is applied at the message/chunk level in the browser's networking stack, so compression must be applied to the entire payload.

> [JS] Arrow Flight JavaScript Client or Example
> ----------------------------------------------
>
>                 Key: ARROW-9860
>                 URL: https://issues.apache.org/jira/browse/ARROW-9860
>             Project: Apache Arrow
>          Issue Type: Wish
>          Components: JavaScript, Python
>            Reporter: Alex Monahan
>            Priority: Major
>
> Is it possible to use Apache Arrow Flight to send data from a Python Web Server to a JavaScript browser client? If it is possible, is there a code example to use to get started? 
>  
> If this is not possible, what is the fastest way to send data from a Python Web Server to Apache Arrow in the browser today? Would it be faster to send a Parquet file and unpack it client-side, or send Arrow directly/with gzip/ etc.?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)