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

Reduce memory used by transactions #1787

Closed
appetrosyan opened this issue Jan 10, 2022 · 0 comments
Closed

Reduce memory used by transactions #1787

appetrosyan opened this issue Jan 10, 2022 · 0 comments
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST Optimization Something isn't working as well as it should

Comments

@appetrosyan
Copy link
Contributor

The test introduced in #1784 demonstrated that creating a million accounts results in average memory usage of 5kiB per account. This is far in excess of what is acceptable for even modest performance requirements,

We should consider reducing the memory footprint significantly.

The proposed solution is to use Trait objects in lieu of statically-typed enum objects.

@appetrosyan appetrosyan added iroha2-dev The re-implementation of a BFT hyperledger in RUST Optimization Something isn't working as well as it should labels Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST Optimization Something isn't working as well as it should
Projects
None yet
Development

No branches or pull requests

1 participant