Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-7282 Credit-based Network Flow Control
  3. FLINK-7456

Implement Netty sender incoming pipeline for credit-based

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • Runtime / Network
    • None

    Description

      This is a part of work for credit-based network flow control.

      On sender side, each subpartition view maintains an atomic integer currentCredit from receiver. Once receiving the messages of PartitionRequest and AddCredit, the currentCredit is added by deltas.

      Each view also maintains an atomic boolean field to mark it as registered available for transfer to make sure it is enqueued in handler only once. If the currentCredit increases from zero and there are available buffers in the subpartition, the corresponding view will be enqueued for transferring data.

      Attachments

        Issue Links

          Activity

            People

              zjwang Zhijiang
              zjwang Zhijiang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: