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

Optimize memory usage of signer for Cardano transactions #1903

Closed
4 tasks done
Tracked by #1457
jpraynaud opened this issue Aug 27, 2024 · 0 comments · Fixed by #1904
Closed
4 tasks done
Tracked by #1457

Optimize memory usage of signer for Cardano transactions #1903

jpraynaud opened this issue Aug 27, 2024 · 0 comments · Fixed by #1904
Assignees
Labels
performances 🥇 Performances

Comments

@jpraynaud
Copy link
Member

jpraynaud commented Aug 27, 2024

Why

In order to optimize the signer memory usage on the SPO infrastructure when signing Cardano transactions, we need our Merkle tree library to support multiple/custom store implementations optimized for:

  • Proving in the aggregator: fast but memory intensive (serves both signature and proving)
  • Signing in the signer: slower but memory optimized (serves only signature)

What

Implement a Merkle tree store with optimized memory usage in the signer.

How

  • Upgrade the Merkle tree implementation to support multiple stores
  • Implement a store for the signer with optimized memory usage based on SQLite
  • Benchmark the new signer store
  • Update the signer footprint in documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performances 🥇 Performances
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant