Skip to content

txHandler: upgraded benchmarks#4834

Merged
algorandskiy merged 5 commits intoalgorand:masterfrom
algonautshant:shant/txHandler_rate_bench
Dec 1, 2022
Merged

txHandler: upgraded benchmarks#4834
algorandskiy merged 5 commits intoalgorand:masterfrom
algonautshant:shant/txHandler_rate_bench

Conversation

@algonautshant
Copy link
Copy Markdown
Contributor

This PR upgrades the txHandler benchmark
New features:

  • Add setting incoming transaction rate
  • Add backlog worker with transaction dropping
  • Count dropped transactions

Run the benchmark with -benchtime=50000x to go over the buffer sizes in order to observe dropped transactions.
Transactions will likely be dropped when the TPS is higher than 600,000.
It needs studying if the signature failure rate impacts the performance/dropped rate.

- Add setting incoming transaction rate
- Add backlog worker with transaction dropping
- Count dropped transactions
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 25, 2022

Codecov Report

Merging #4834 (466d250) into master (e8b1416) will decrease coverage by 0.51%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4834      +/-   ##
==========================================
- Coverage   53.40%   52.88%   -0.52%     
==========================================
  Files         422      422              
  Lines       53858    53859       +1     
==========================================
- Hits        28761    28483     -278     
- Misses      22797    23066     +269     
- Partials     2300     2310      +10     
Impacted Files Coverage Δ
util/metrics/counter.go 88.17% <100.00%> (+0.12%) ⬆️
tools/debug/logfilter/main.go 0.00% <0.00%> (-83.34%) ⬇️
network/msgOfInterest.go 75.00% <0.00%> (-25.00%) ⬇️
agreement/sort.go 76.19% <0.00%> (-23.81%) ⬇️
agreement/certificate.go 66.66% <0.00%> (-16.67%) ⬇️
daemon/algod/api/server/router.go 0.00% <0.00%> (-13.89%) ⬇️
cmd/tealdbg/cdtSession.go 54.83% <0.00%> (-11.99%) ⬇️
data/transactions/signedtxn.go 18.51% <0.00%> (-11.12%) ⬇️
util/db/dbutil.go 32.73% <0.00%> (-9.53%) ⬇️
protocol/codec.go 55.78% <0.00%> (-8.43%) ⬇️
... and 30 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Comment thread data/txHandler_test.go
Comment thread data/txHandler_test.go Outdated
Comment thread data/txHandler_test.go Outdated
Comment thread data/txHandler_test.go Outdated
Comment thread data/txHandler_test.go Outdated
Comment thread data/txHandler_test.go
Comment thread data/txHandler_test.go Outdated
@algorandskiy algorandskiy merged commit 3abde76 into algorand:master Dec 1, 2022
@algorandskiy algorandskiy changed the title txHandler: Upgraded txHandler benchmark txHandler: upgraded benchmarks Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants