Title: Setting the Flow Control MaxOutstandingElementCount cause stuck messages · Issue #2452 · googleapis/google-cloud-java · GitHub
Open Graph Title: Setting the Flow Control MaxOutstandingElementCount cause stuck messages · Issue #2452 · googleapis/google-cloud-java
X Title: Setting the Flow Control MaxOutstandingElementCount cause stuck messages · Issue #2452 · googleapis/google-cloud-java
Description: The behaviour was observed in the 0.21.1-beta version of the Java client library It seems resolved in the 0.23.1-beta version, however this newer version implements the bi-directional streaming pull and the previous doesn't. Test Setup: ...
Open Graph Description: The behaviour was observed in the 0.21.1-beta version of the Java client library It seems resolved in the 0.23.1-beta version, however this newer version implements the bi-directional streaming pul...
X Description: The behaviour was observed in the 0.21.1-beta version of the Java client library It seems resolved in the 0.23.1-beta version, however this newer version implements the bi-directional streaming pul...
Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/2452
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Setting the Flow Control MaxOutstandingElementCount cause stuck messages","articleBody":"The behaviour was observed in the 0.21.1-beta version of the Java client library\r\nIt seems resolved in the 0.23.1-beta version, however this newer version implements the bi-directional streaming pull and the previous doesn't.\r\n\r\n**Test Setup:**\r\n- 100k messages published to a Topic\r\n- Single Subscription\r\n- _n_ Subscribers (k8s running on GKE, each pod running in separate node) {_n_ ∈ Z | 1 ≤ _n_ ≤ 4}\r\n- Each node had 2 vCPU and each Subscriber provided 10 user threads to the client library\r\n- All Subscribers running the same code (Parse message, build various classes, callback processing takes ~20ms)\r\n- Flow control settings: MaxOutstandingElementCount: 1000\r\n**Results:**\r\n- _n_ Messages remain stuck on Topic _n_ ∈ [223, 6652]\r\n**Observations:**\r\n- When messages are stuck: mod_ack_deadline_request_count \u003e 0, Pull request count \u003e 0\r\n- When messages are stuck Subscriber callback threads are Waiting\r\n- No stuck messages when retesting with default Flow Control Settings (i.e. MaxOutstandingElementCount = null)\r\n- Experiments with MaxOutstandingElementCount ∈ [1000, 500, 250, 125] resulted in stuck message count ∈ [~6K, ~3K, ~1.7K, ~6K]\r\n\r\n**Interpretation:**\r\nMessage ACK deadlines are being continuously extended and the callback threads are not being invoked\r\n","author":{"url":"https://github.com/robertsaxby","@type":"Person","name":"robertsaxby"},"datePublished":"2017-09-19T12:02:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/2452/google-cloud-java/issues/2452"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a831362f-9e26-202f-fd95-b14320e723e6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 878A:231C2E:14A6EC7:1D8A661:6A4CC72C |
| html-safe-nonce | 7b62807c43e82a892f4053d3e5ca7e5794192065cb23822abac1720ff48519fd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzhBOjIzMUMyRToxNEE2RUM3OjFEOEE2NjE6NkE0Q0M3MkMiLCJ2aXNpdG9yX2lkIjoiODMxNTEyMjg2Nzk5MDQ4MDY4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f8300185eaa66d1303f4e13b57f1af2184c8126b6640dafd601b2ed2f4907785 |
| hovercard-subject-tag | issue:258795645 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-java/2452/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0761c6584bdf1cb46ef84d2bee4b0d5d598be4a92c357e4fdd29bf27a0b6b9e5/googleapis/google-cloud-java/issues/2452 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0761c6584bdf1cb46ef84d2bee4b0d5d598be4a92c357e4fdd29bf27a0b6b9e5/googleapis/google-cloud-java/issues/2452 |
| og:image:alt | The behaviour was observed in the 0.21.1-beta version of the Java client library It seems resolved in the 0.23.1-beta version, however this newer version implements the bi-directional streaming pul... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | robertsaxby |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-java git https://github.com/googleapis/google-cloud-java.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 26181278 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26181278 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d0da0eb92994395299ed4450bf67b0373005be36 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width