Whats the Best way to download a large table to a client?

Hello,

I have large table with lots of columns.  I’m wondering whats the best way to download this in a front end gui?

Right now I downloading batches asynchronously using somthing similar to this

{(neg .z.w)[((count x) ; x)]} each(1000 cut table); (neg .z.w)[end]`

but it seems to download quickly at first then slow down.  Is this the best way to do this, or is there something better?

Thanks!

I changed this to call a remote func to maybe be a bit cleaner but still recieve data is coming fast, slow, then fast again..

getTableAsync:{[batchCount]

    {[b]

        (neg .z.w) b

    } each (batchCount cut table);

    (neg .z.w) ;

    (neg .z.w)[`end]

};

anyone have any ideas why this happening?

On Thursday, February 23, 2017 at 3:10:45 PM UTC-5, Roni Hoffman wrote:

I have large table with lots of columns.  I’m wondering whats the best way to download this in a front end gui?

You may want to take a look at <http://code.kx.com/wiki/Doth#.h.jx\>.