Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: SIGNAL-7190 Task.await_many for batch operations #110

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

seungjinstord
Copy link
Contributor

Related Ticket(s)

SIGNAL-7190

Checklist

Problem

Task.async operations to finish before finishing up the batch because it’s “going too fast” and DB can’t keep up (afraid same thing might happen in prod).

Details

We’ll use Task.await_many as the back pressure, as that delays batching function to finish, and increasing the time to finish is the back pressure onto receiving more messages.

@seungjinstord seungjinstord self-assigned this Oct 18, 2024
@seungjinstord seungjinstord requested a review from a team as a code owner October 18, 2024 17:02
@seungjinstord seungjinstord requested a review from a team October 18, 2024 17:02
@seungjinstord
Copy link
Contributor Author

seungjinstord commented Oct 18, 2024

Note to self: test this one more round locally before merging
UPDATE: running it and load testing it with a local wms-service with running all the Cypress tests shows no DBConnection error issues. Seems like it's good.

@seungjinstord seungjinstord merged commit 79c9f42 into main Oct 18, 2024
12 checks passed
@seungjinstord seungjinstord deleted the task-await-for-broadwayadapter-batching branch October 18, 2024 21:27
seungjinstord pushed a commit that referenced this pull request Oct 21, 2024
An automated release has been created for you.
---


## [3.4.0](v3.3.1...v3.4.0)
(2024-10-18)


### Features

* SIGNAL-7190 Task.await_many for batch operations
([#110](#110))
([79c9f42](79c9f42))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants