Commit 3b05d1c
authored
feat: ratelimiting and other ux improvements (#4)
* 50k conns?
* rm: json parsing on testserver
* huge backlog
* allow get
* log concurrent
* limit to 1 worker
* 50 workers
* feat: hyper
* fix?
* actix -> axum
* Update main.rs
* rm batch factor
* 3 second measurement interval
* Update main.rs
* worker id
* request durr
* fix: workers
* Update network.rs
* fix ids
* feat: implied total rps
* Update network.rs
* Update network.rs
* Create genesis.json
* genalloc
* 25k
* start reth
* 50k again?
* wip: try one of 10k addrs
* even workers
* 20k conns
* Update main.rs
* back to 20 acc
* 100 accounts
* 100 acc
* 2500 accounts
* oops fix tx queue reporting
* feat: rand addr
* 500 accounts
* use existing people, log
* allow dead code
* Update tx_gen.rs
* lawging
* hrmf
* 1k accs
* 10k accounts
* wip: startup delay
* Update tx_queue.rs
* Update tx_queue.rs
* log
* moar thresholds
* Update tx_queue.rs
* feat: rayonify
* Update tx_gen.rs
* 50k connections?
* Revert "50k connections?"
This reverts commit 34ec48c.
* log rayon thread pool size
* Update tx_gen.rs
* Initialize Rayon with explicit thread count.
* Update tx_gen.rs
* Update tx_gen.rs
* feat: alternate ratelimit system
* Update tx_queue.rs
* Update tx_queue.rs
* Update tx_queue.rs
* Update tx_queue.rs
* Update tx_queue.rs
* hm
* thresholds
* Update tx_queue.rs
* Update tx_queue.rs
* Update tx_queue.rs
* thresholds
* Update tx_queue.rs
* fewer socket conns
* 10k connections
* 50k RPS?
* feat: longer ramp
* 35k rps?
* Update tx_queue.rs
* 25k
* Update start-reth.sh
* Update genesis.json
* Update start-reth.sh
* batch factor of 5
* fix: implied rps
* disable batching
* feat: even slower ramp up
* slightly faster
* feat: 50k genesis
* feat: better ramp
* oops
* worker ratio
* feat: pareto distribute recipients
* Update tx_gen.rs
* Empty the rate limiter.
* feat: empty rate limiter before AND after
* wip: can we remove first set avail?
* 15k tps
* 20k?
* 15k again
* feat: ramp up faster
* even faster
* faster!1 parent d945d37 commit 3b05d1c
File tree
10 files changed
+150417
-67
lines changed- crescendo
- src
- bin
- workers
10 files changed
+150417
-67
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
0 commit comments