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

AT Execution Time Improvement #810

Merged
merged 5 commits into from
May 5, 2024
Merged

Conversation

ohager
Copy link
Member

@ohager ohager commented May 2, 2024

  • Implementation
  • Adjust affected Unit Tests
  • Multi-Row inserts for AccountBalance and IndirectIncoming

Improving AT Processing performance by dramatically reducing data base access while steps execution.
Necessary data is being loaded (incrementally) from database into memory on each blocks beginning.
This tackles two observed problems:

  1. While processing 47% of time was spent on AT execution

image

  1. A steady decline of synchronization performance (scalability issues)

image

This solution reduces time spent on AT execution to only 7% and keeps block sync speed stable

image

Further more two insert queries were changed to allow a chunked multi-value insertion, which runs significantly faster than their prior batched insertion (single insert statements)

@ohager ohager marked this pull request as ready for review May 5, 2024 17:59
@ohager ohager requested a review from jjos2372 as a code owner May 5, 2024 17:59
@ohager ohager merged commit 0e76992 into develop May 5, 2024
2 checks passed
@ohager ohager deleted the feat/at-find-tx-height-improvement branch May 5, 2024 17:59
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