Fridrik Asmundsson
4b0ca30daf
Add --watch option to see progress while benchmark is running
2023-05-27 10:55:10 +00:00
Fridrik Asmundsson
dcc72a43ee
Also report on json errors (not only http errors)
2023-05-27 10:55:10 +00:00
Fridrik Asmundsson
d0e9502bfe
small fixes
2023-05-27 10:55:10 +00:00
Fridrik Asmundsson
78d7ccd391
Add new RPC stress testing tool (lotus-bench rpc) with rich reporting
...
This benchmark is designed to stress test the rpc methods of a lotus node so that we can simulate real world usage and measure the performance of rpc methods on the node.
This benchmark has the following features:
* Can query each method both sequentially and concurrently
* Supports rate limiting
* Can query multiple different endpoints at once (supporting different concurrency level and rate limiting for each method)
* Gives a nice reporting summary of the stress testing of each method (including latency distribution, histogram and more)
* Easy to use
To use this benchmark you must specify the rpc methods you want to test using the --method options, the format of it is:
--method=NAME[:CONCURRENCY][:QPS][:PARAMS] where only METHOD is required.
Here are some real examples:
lotus-bench rpc --method='eth_chainId' // run eth_chainId with default concurrency and qps
lotus-bench rpc --method='eth_chainId:3' // override concurrency to 3
lotus-bench rpc --method='eth_chainId::100' // override to 100 qps while using default concurrency
lotus-bench rpc --method='eth_chainId:3:100' // run using 3 workers but limit to 100 qps
lotus-bench rpc --method='eth_getTransactionCount:::["0xd4c70007F3F502f212c7e6794b94C06F36173B36", "latest"]' // run using optional params while using default concurrency and qps
lotus-bench rpc --method='eth_chainId' --method='eth_getTransactionCount:10:0:["0xd4c70007F3F502f212c7e6794b94C06F36173B36", "latest"]' // run multiple methods at once`,
Fixes: https://github.com/filecoin-project/lotus/issues/10752
2023-05-27 10:55:10 +00:00
Łukasz Magiera
fdd013c103
Merge pull request #10920 from filecoin-project/lotus-fountain-dealsize
...
fix:lotus-fountain:set default data-cap same as MinVerifiedDealSize
2023-05-26 09:35:13 +02:00
Jianhui Xie
479018e3b3
set default data-cap same as MinVerifiedDealSize
2023-05-24 22:09:29 -07:00
Jianhui Xie
41203f7b8e
pass the right g-recaptcha data
2023-05-24 21:06:03 -07:00
Andrew Jackson (Ajax)
aef2ab6315
Merge pull request #10405 from cortze/feat/upgrade-elastic-search-traces-transport
...
feat: tracer: upgrade elastic search transport for pubsub traces
2023-05-24 10:01:37 -05:00
Łukasz Magiera
8c8e287be0
Merge pull request #10896 from filecoin-project/feat/chainindex-sharded-mutex
...
feat: chainstore: sharded mutex for filling chain height index
2023-05-24 12:49:16 +02:00
Aayush Rajasekaran
f99fbc1e87
Merge pull request #10912 from simlecode/fix/not-unlock
...
fix: not call RUnlock
2023-05-23 17:17:14 -04:00
Łukasz Magiera
6b4a46d273
Merge pull request #10893 from simlecode/opt/output-events-root
...
opt: cli: If present, print Events Root
2023-05-23 11:50:21 +02:00
Łukasz Magiera
17d2c71c0f
Merge pull request #10905 from filecoin-project/maciej/fountain-fix
...
Calibration faucet UI improvements
2023-05-23 11:49:18 +02:00
simlecode
6ec413b7ad
fix: not call RUnlock
2023-05-23 17:43:39 +08:00
ZenGround0
2922959f0b
Merge pull request #10841 from gammazero/use-go-libipni
...
chore: chain: replace storetheindex with go-libipni
2023-05-22 14:16:30 -04:00
Maciej Witowski
c233b4317d
Small UI improvements for faucet
2023-05-22 17:34:07 +02:00
Maciej Witowski
fff151f07e
Fix button color so it doesn't look disabled when hovering over
2023-05-22 17:16:30 +02:00
cortze
d9a65223ab
tidy dependencies
2023-05-22 11:59:39 +02:00
cortze
42d2f4d7e4
tracer: move es transport to net/http + format
2023-05-22 09:43:07 +02:00
cortze
bb92984dca
tracer: simplify the valid Iwant logic
2023-05-22 09:13:10 +02:00
Jakub Sztandera
cad743ec54
Appease the linter
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2023-05-19 20:02:47 +02:00
Jakub Sztandera
dfa7fc7723
feat: chainstore: sharded mutex for filling chain height index
...
This PR introduces as sharded mutex within the ChainIndex#GetTipsetByHeight.
It also replaces a go map with xsync.Map which doesn't require locking.
The lock is taken when it appears that ChainIndex filling work should be
started. After claiming the lock, the status of the cache is rechecked,
if the entry is still missing, the fillCache is started.
Thanks to @snissn and @arajasek for debugging and taking initial stabs at this.
Supersedes #10866 and 10885
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2023-05-19 19:49:22 +02:00
Łukasz Magiera
9321e0fd14
Merge pull request #10894 from filecoin-project/feat/lotus-info-alerting
...
Add alerts to `Lotus info` cmd
2023-05-19 15:59:03 +02:00
Phi
40e51baadc
Add alerts to Lotus info
cmd
...
Add alerts to `Lotus info` cmd
2023-05-19 14:31:40 +02:00
simlecode
3207c69528
opt: cli: If present, print Events Root
2023-05-19 16:56:11 +08:00
Phi-rjan
bd85a6a72f
Merge pull request #10860 from filecoin-project/phi-fix-args-redeclare
...
fix: cli: make redeclare cmd work properly
2023-05-18 19:13:07 +02:00
Phi
e65de697f0
make docsgen-cli
...
make docsgen-cli
2023-05-18 18:27:53 +02:00
Phi
b08dbde2da
Update redeclare cmd on Lotus-Workers
...
Update redeclare cmd on Lotus-Workers
2023-05-18 18:04:10 +02:00
Łukasz Magiera
6ced5e2944
Merge pull request #10880 from filecoin-project/jen/makedeephappy
...
fix: shed remove datacap not working with ledger
2023-05-18 16:10:17 +02:00
Jennifer Wang
de0726fcb0
make ledger sign work
2023-05-17 22:01:04 -04:00
gammazero
0a0f540189
mod tidy
2023-05-17 11:42:34 -07:00
gammazero
f35fa5757a
Replace use of storetheindex with go-libipni
2023-05-17 11:41:00 -07:00
cortze
fa8792a65e
make CI happpy with format
2023-05-17 14:58:53 +02:00
cortze
d400d33b1e
go format code changes
2023-05-17 14:44:19 +02:00
cortze
c2e2725855
update traces, es transport with batches and fasthttp
2023-05-17 11:54:59 +02:00
Łukasz Magiera
aaa376c5e4
Merge pull request #10878 from filecoin-project/sbansal/neg-epoch-check
...
Check if epoch is negative in GetTipsetByHeight
2023-05-17 11:07:14 +02:00
Shrenuj Bansal
b0d1385273
Check if epoch is negative in GetTipsetByHeight
2023-05-16 21:19:03 -04:00
Łukasz Magiera
0e7f9cf99b
Merge pull request #10867 from filecoin-project/refactor/gfm-v1.28.0
...
chore: update go-fil-markets
2023-05-17 00:13:36 +02:00
Łukasz Magiera
34ebb257e8
Merge pull request #10868 from filecoin-project/feat/add-legacy-markets-alert
...
feat: alerts: Add lotus-miner legacy-markets alert
2023-05-16 23:41:24 +02:00
Phi
7519f9fdf1
fix: Add lotus-miner legacy-markets alert
...
fix: Add lotus-miner legacy-markets alert
2023-05-15 13:13:06 +02:00
Phi
a29e8226c7
Set drop-missing to true
...
Set drop-missing to true
2023-05-15 11:51:43 +02:00
Jacob Heun
af0303ff7d
chore: update go-fil-markets
2023-05-15 10:27:13 +02:00
JesseXie
bc6017194d
Merge pull request #10856 from filecoin-project/lotus-fountain-add-datacap
...
feat⛲ add grant-datacap support
2023-05-12 11:20:26 -07:00
Jianhui Xie
4f3b6175c0
follow the new style for html from master branch
2023-05-12 10:59:28 -07:00
Jianhui Xie
9486aa98db
fixed the merged break for to->cmd/lotus-fountain/main.go
2023-05-12 10:48:18 -07:00
Jiaying Wang
befc82d3cd
Merge pull request #10861 from filecoin-project/asr/deflake-logs
...
feat: itests: add logs to blockminer.go failure case
2023-05-12 13:47:03 -04:00
JesseXie
9b0cbbb0a8
Merge branch 'master' into lotus-fountain-add-datacap
2023-05-12 10:42:39 -07:00
Aayush Rajasekaran
1dd24fe18f
Merge pull request #10782 from filecoin-project/10781-add-blockhash-param-to-ethgetLogs
...
feat: eth: Add support for blockHash param in eth_getLogs
2023-05-12 12:58:46 -04:00
Aayush Rajasekaran
b3d0b1803f
Merge pull request #10784 from filecoin-project/maciej/fountain
...
lotus-fountain: make compatible with 0x addresses #10560
2023-05-12 12:17:56 -04:00
Aayush
760a27dd4b
feat: itests: add logs to blockminer.go failure case
2023-05-12 12:17:31 -04:00
Aayush Rajasekaran
2bbc098bff
Merge pull request #10858 from filecoin-project/asr/deflake-sector-import
...
feat: deflake sector_import_simple
2023-05-12 11:09:06 -04:00