question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fetch highWaterMark

See original GitHub issue

What should we use as highWaterMark for the fetch api? I think browsers usually have 1m+ while Node has ~16k. Should we try matching the browsers? I think this has some implications on functionality when using Response.clone.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
ronagcommented, Aug 4, 2021

I guess it could.

0reactions
ronagcommented, Aug 4, 2021

This is unfortunately for web streams, not node streams.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Usage of clone stream and backpressure (aka default ...
Per Fetch Spec's clone definition, we sho... ... Should v2 change default highWaterMark value? ... Fetch highWaterMark nodejs/undici#923.
Read more >
node.js - Stream highWaterMark misunderstanding
1) While the highWaterMark limit is not reached, the stream is able to buffer and write data. 2) If the highWaterMark limit is...
Read more >
CountQueuingStrategy() - Web APIs - MDN Web Docs - Mozilla
An object with the following property: highWaterMark. The total number of chunks that can be contained in the internal queue before backpressure ...
Read more >
Stream | Node.js v19.3.0 Documentation
For streams operating in object mode, the highWaterMark specifies a total number of ... If the data to be written can be generated...
Read more >
Node.js Stream writable.writableHighWaterMark Property
writableHighWaterMark property is an inbuilt application programming interface of stream module which is used to check the highWaterMark ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found