Giter Club home page Giter Club logo

Comments (3)

mnot avatar mnot commented on July 30, 2024

We discussed giving advice about the use of flow control in a separate "implementation advice" document. From my notes:

--------->8---------

Appropriate Use of Flow Control

Flow control is defined to protect deployments (whether it's server, client or intermediary) that are operating under constraints. For example, a proxy must share memory between many connections. Generally, it addresses cases where the receiver cannot process input (for whatever reason), yet wants to be able to process other streams.

A valid strategy is to turn flow control off if you don't need these properties.

Strategies for Flow Control

  1. In most cases, it's recommended to advertise an infinite window.
  2. If you must, you can protect resources (e.g., memory) in your implementation. However, if this is done without knowledge of BDP, this may lead to non-optimal use of bandwidth.
  3. When flow control is used with knowledge of BDP, it can both protect resources and assure utilisation of the connection is unimpeded. Note that this can be difficult to implement.

-----8<-------

Since we don't have a separate document yet, I'm OK with putting this in the spec for the time being; it might be helpful to mark it somehow (even just with a comment in source) that it's potentially splittable to a separate doc.

Flipping to editorial.

from http2-spec.

martinthomson avatar martinthomson commented on July 30, 2024

We still don't know how to set an infinite window...

from http2-spec.

martinthomson avatar martinthomson commented on July 30, 2024

Problem solved. d8013a3

from http2-spec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.