NethermindEth / NethermindEth/Catalyst

Improve spammer to handle high TPS

Open
#448 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
44
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Right now, when you try to submit a lot of txs with high --batch-size value, we get:

Failed to establish a new connection: [Errno 24] Too many open files'))

Alternatively, if I set lower value for --sleep (like 0.1), seems like the each batch is taking longer than 0.1 hence not increasing TPS much.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the spammer implementation and reproduce the issue with a high --batch-size, then compare behavior with a low --sleep value such as 0.1. Done means high-volume submission no longer exhausts open files and reducing --sleep results in the expected TPS improvement.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.