attestantio / dirk

Apache License 2.0
81 stars 23 forks source link

Increase generation phase timeout and make generation proccess parallel #39

Closed SpontaneousOverthrow closed 1 year ago

SpontaneousOverthrow commented 1 year ago

We are using s3 to store wallets/accounts. If we have about 200 keys, generation account time is about 21 seconds. This is a small improvement decreasing generation account time to 15 seconds for 200 keys.

SpontaneousOverthrow commented 1 year ago

Maybe it is a good idea to get timeout value from Dirk config? Also I have made a cpu profile, maybe there is any other way to improve account generation speed.

mcdee commented 1 year ago

Thank you for this. If you wish to send in a separate PR to make the generation timeout configurable that would be good, too.

SpontaneousOverthrow commented 1 year ago

Thank you for this. If you wish to send in a separate PR to make the generation timeout configurable that would be good, too.

good idea, need some time for this.