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

code: Improve mempool of Starknet test app #801

Open
4 tasks
romac opened this issue Jan 23, 2025 · 0 comments
Open
4 tasks

code: Improve mempool of Starknet test app #801

romac opened this issue Jan 23, 2025 · 0 comments
Assignees
Labels
application Related to building applications on top of Malachite
Milestone

Comments

@romac
Copy link
Member

romac commented Jan 23, 2025

Our current mempool for the Starknet mock app is quite barebones and could use a few improvements, namely:

  • Split out tx generation out of the Mempool actor and into its own actor (MempoolLoad or something)
  • After a block is decided, only remove txs that were included in that block
  • Allow configuring the MempoolLoad actor to generate load on the mempool in various ways
    • No load
    • Uniform load configured in TPS (transactions per second)
    • Non-uniform load to simulate peaks in tx ingestion, the frequency and amplitude of these peaks should be configurable
  • Allow size of generated transactions to be configured (constant, uniformly distributed, other distributions)
@romac romac added the application Related to building applications on top of Malachite label Jan 23, 2025
@romac romac added this to the Phase 5 milestone Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
application Related to building applications on top of Malachite
Projects
None yet
Development

No branches or pull requests

2 participants