title: What is the optimal chunk size to send over http?
body: <p>I have to send data over http, server to server, with this basic kind of code :</p>
  
  <pre><code>const http = require('http')
  const someBigData = require('./bigDataSource')
  
  http.createServer((req, res) =&gt; {
    res.write(someBigData)
    res.end()
  }).listen(8080)
  </code></pre>
  
  <p>The thing is, <code>someBigData</code> can be VERY big.
  So my question is, what is the optimal size for a chunk ?</p>