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

fix: DIA-1584: Use send_and_wait + batches for output topic #245

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hakan458
Copy link
Contributor

@hakan458 hakan458 commented Nov 4, 2024

Back to using send_and_wait, which while using before we never lost a message in this stage.

However, we switched to send for speed purposes. To mitigate this, we are now sending batches of records to the output topic, instead of calling send_and_wait once per record. Even if we have the small delay while awaiting the result, that will now happen once per batch (e.g. 50 records) instead of once per record, greatly reducing the time it takes.

@robot-ci-heartex robot-ci-heartex temporarily deployed to fb-dia-1584 November 4, 2024 19:02 Destroyed
@robot-ci-heartex robot-ci-heartex temporarily deployed to fb-dia-1584 November 4, 2024 19:52 Destroyed
@robot-ci-heartex robot-ci-heartex temporarily deployed to fb-dia-1584 November 4, 2024 21:16 Destroyed
@codecov-commenter
Copy link

codecov-commenter commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.67%. Comparing base (882ca68) to head (e52fc5c).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #245      +/-   ##
==========================================
- Coverage   65.71%   65.67%   -0.05%     
==========================================
  Files          47       47              
  Lines        2424     2421       -3     
==========================================
- Hits         1593     1590       -3     
  Misses        831      831              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@robot-ci-heartex robot-ci-heartex marked this pull request as draft November 5, 2024 08:07
@hakan458 hakan458 marked this pull request as ready for review November 5, 2024 17:37
@robot-ci-heartex robot-ci-heartex temporarily deployed to fb-dia-1584 November 5, 2024 17:38 Destroyed
@robot-ci-heartex robot-ci-heartex marked this pull request as draft November 6, 2024 04:06
@niklub niklub marked this pull request as ready for review November 6, 2024 10:47
@robot-ci-heartex robot-ci-heartex temporarily deployed to fb-dia-1584 November 6, 2024 10:48 Destroyed
@robot-ci-heartex robot-ci-heartex marked this pull request as draft November 6, 2024 21:05
@farioas farioas marked this pull request as ready for review November 6, 2024 21:14
@robot-ci-heartex robot-ci-heartex temporarily deployed to fb-dia-1584 November 6, 2024 21:15 Destroyed
@robot-ci-heartex robot-ci-heartex temporarily deployed to fb-dia-1584 November 6, 2024 22:53 Destroyed
@robot-ci-heartex robot-ci-heartex marked this pull request as draft November 7, 2024 09:05
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.

5 participants