Wednesday, 3 May 2017

Node.js websocket send bigdata to client

I need to send big data (Gb) to client from node.js. The best way how can I do this: create string with 1024*1024*1024 symbols (using for i=1024*1024*1024). Maybe where is some different ways to send any data with size 1Gb? I want to define client's troughput: I'll send data with 1Kb, if callback from client takes less than 1 second then send data with 'LAST_SIZE' * 10 and repeat it several times to Gb.



via Vyacheslav

No comments:

Post a Comment