GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Question about setting maxOutstandingByteCount to null on FlowControlSettings · Issue #3884 · googleapis/google-cloud-java

Question about setting maxOutstandingByteCount to null on FlowControlSettings #3884

New issue
Copy link
New issue
Copy link
Closed
Closed
Question about setting maxOutstandingByteCount to null on FlowControlSettings#3884
Copy link
Assignees
sduskis
Labels
type: questionRequest for information or clarification. Not an issue.

Description

@j256
j256
opened on Oct 31, 2018
Issue body actions

Sorry for the question but I didn't get any answers to my SO question.

What are the ramifications of setting the max-outstanding value on FlowControlSettings to be null or some large integer? Does this only impact client side memory storage of outstanding GUIDs or other telemetry? Anything else we need to worry about?

We have our own flow-control that will limit the outstanding messages but we need to vary the record-count based on our own triggers.

Thanks.

Activity

  1. JustinBeckwith
    added
    triage meI really want to be triaged.
    on Nov 1, 2018
  2. sduskis
    added
    type: questionRequest for information or clarification. Not an issue.
    on Nov 1, 2018
  3. sduskis commented on Nov 1, 2018

    @sduskis
    sduskis
    on Nov 1, 2018
    Contributor
    More actions

    @igorbernstein2, do you have a good answer for this?

  4. JustinBeckwith
    removed
    triage meI really want to be triaged.
    on Nov 1, 2018
  5. igorbernstein2 commented on Nov 1, 2018

    @igorbernstein2
    igorbernstein2
    on Nov 1, 2018
    Contributor
    More actions

    I'm not familiar with the pubsub client in specific, but I can try to help with FlowController in general.

    Removing it will impact client side memory as well as the service itself. If you have a large number of outstanding RPCs, then it implies that your application is sending RPCs faster than the service can send replies. If you don't throttle your qps, then your service will never catch up. The general idea of the FlowController is to temporarily block your calling thread from sending more requests while the service is processing the already sent ones.

    Does that help at all?

  6. dhoard commented on Nov 28, 2018

    @dhoard
    dhoard
    on Nov 28, 2018
    More actions

    The Pub / Sub service has a maximum number of outstanding messages. Once you hit the limit, you will not receive any new messages. We encountered this limit around 1 million outstanding messages.

    There may be a Pub / Sub service maximum on outstanding bytes as well.

    Reacted by Gray
  7. sduskis
    closed this as completedon Feb 4, 2019
  8. j256 commented on Feb 4, 2019

    @j256
    j256
    on Feb 4, 2019
    Author
    More actions

    Thanks for the response @igorbernstein2 . Sorry to not respond sooner.

    I suspected as much. We need more fine grained control over the outstanding messages so we block the client threads which seems to be working. Thanks again.

  9. JustinBeckwith
    assigned
    sduskis
    on Feb 1, 2021
  10. suztomo
    added a commit that references this issue on Mar 9, 2026

    chore(deps): update dependency com.google.cloud:google-cloud-bigquery…

    3a17ec2
  11. lqiu96
    added a commit that references this issue on Mar 20, 2026

    chore(deps): update dependency com.google.cloud:google-cloud-bigquery…

    e55064d
  12. chingor13
    added a commit that references this issue on Mar 24, 2026

    chore(main): release 2.62.0 (#3884)

    d1a338a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @sduskis
    sduskis

Labels

type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.