Conversation
c132723 to
864c501
Compare
|
cc @benr-ml on results. imo we dont need to land this, but keeping it here as a benchmark. this is for all servers running locally, the performance is pretty good - encrypt scales linearly with file size, decrypt is constant. |
|
@joyqvq the message size is less important here, let's stress test the aggregator with 20 concurrent calls per second for 10 minutes and check performance? |
the file size is just to make sure the sdk is behaving ok. re server load test its probably the best to do it on the ci deployed aggregator, we have a 5 out of 5 setup there. while i can simulate 20 concurrent calls for 20 unique package ids in one iteration. but 10 minutes is hard to do since key servers will be caching package ids, the result will be after caching. or we can also temporily disable caching on ci server |
864c501 to
3c22707
Compare
that is ok, we are mainly stress testing the aggregator |
Description
spin up 20 key servers and 1 aggregator (key shares from a testnet ceremony and finalized key server obj onchain)
run load test
pnpm load-test -- --network testnet --servers '[{"objectId":"0x8a0e2e09a4c5255336d234b11014642b350634f07d07df6fc4c17bf07430c872","aggregatorUrl":"http://localhost:3000"}]'Test plan