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: parallelizing sending bulk updates to OpenSearch on same snapshot and updating tessellation version #70

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

IPadawans
Copy link
Member

Changes

  • To address recent issues with snapshot streaming when sending data to OpenSearch, the bulk update process has been optimized by introducing parallelization.
  • Now, updates for each snapshot are sent in parallel while ensuring that only one snapshot is processed at a time.
  • This optimization helped improve the performance on 2024-12-02, helping the system catch up with the network.

Tests

Screenshot 2024-12-03 at 10 38 35

NOTE

I've generated a JAR with these changes from version 4.3.3 and deployed it to the SnapshotStreaming of Mainnet, @AlexBrandes authorized this since we needed to do something to catch up with the network, so we need to generate an official version and maybe re-deploy

@IPadawans IPadawans force-pushed the improving-send-to-opensearch-bulk-operation branch 2 times, most recently from 5e58d6b to 9b9b73d Compare December 3, 2024 17:29
@IPadawans IPadawans requested a review from scasplte2 December 3, 2024 17:30
@IPadawans IPadawans force-pushed the improving-send-to-opensearch-bulk-operation branch from 9b9b73d to e7f06af Compare December 3, 2024 17:35
Copy link

@scasplte2 scasplte2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@IPadawans IPadawans merged commit 452557c into develop Dec 4, 2024
1 check passed
@IPadawans IPadawans deleted the improving-send-to-opensearch-bulk-operation branch December 4, 2024 14:10
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