celestiaorg / celestia-app

Celestia consensus node
https://celestiaorg.github.io/celestia-app/
Apache License 2.0
337 stars 278 forks source link

feat: ability to specify transaction rate in txsim #2374

Open staheri14 opened 1 year ago

staheri14 commented 1 year ago

In the process of addressing requirements for spamming mocha-3, we encountered the necessity to simulate a network under a predefined transaction rate. Given our reliance on txsim for network simulation, we observed that this particular capability is absent within its current framework. Presently, transactions are dispatched in rapid succession (as soon as they are committed) without an option to introduce time intervals between consecutive submissions. This issue has been initiated to monitor the advancement of this feature request.

staheri14 commented 1 year ago

While working on this task, it became evident that additional metrics need to be tracked within txsim. Consequently, adopting a core instrumentation strategy would offer greater viability and sustainability. With this in mind, my plan is to integrate Prometheus metric collection into the celestia-app and leverage it to monitor essential data points related to txsim. I will soon initiate a tracking issue for this purpose.

staheri14 commented 1 year ago

Need to wait on #2429