openwallet-foundation / acapy

ACA-Py is a foundation for building decentralized identity applications and services running in non-mobile environments.
https://aca-py.org
Apache License 2.0
420 stars 513 forks source link

Large amount of connections can cause performance degradation #1959

Closed kukgini closed 1 year ago

kukgini commented 2 years ago

In aca-py 0.7.4, If agent disclose a multi-use invitation for all invitee, When the number of connections increases, the return records of Askar's SCAN_QUERY grow proportionally. As a result, In proportion, the total execution time of connection 1.0 process increases.

swcurran commented 2 years ago

@ianco and @andrewwhitehead -- could you please take a look at this. Is there something we can do about this?

Thanks

KimEbert42 commented 1 year ago

See https://github.com/hyperledger/aries-cloudagent-python/pull/2116