-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UPGRADE: Fix multi-use invitation performance #2116
UPGRADE: Fix multi-use invitation performance #2116
Conversation
Signed-off-by: Kim Ebert <[email protected]>
Signed-off-by: Kim Ebert <[email protected]>
Signed-off-by: Kim Ebert <[email protected]>
We can add these new tags on startup. I don't recall the details but @shaangill025 had to do this at one point |
@ianco are you referring to the upgrade command or is there another mechanism for adding the new tags? |
Yes the upgrade command, that's right. |
Signed-off-by: Kim Ebert <[email protected]>
Signed-off-by: Kim Ebert <[email protected]>
Add upgrade command to upgrade connections. |
@reflectivedevelopment this looks good! I'm just doing some testing ... can you sync up with the latest main branch? |
Kudos, SonarCloud Quality Gate passed! |
Added "UPGRADE" to the PR title so we remember to add instructions re upgrading the db to the release docs. |
@ianco or @reflectivedevelopment — can one of you add the details of what has to be done to upgrade that I can put into the ChangeLog. Will it happen automagically, or does something have to be done by the deployer to trigger the upgrade? I’m not clear on exactly what is happening — there isn’t a lot of code changing in the PR :-) |
I think you just need to run |
It is the aca-py upgrade command that needs to be run. Here is the command I used to run the upgrade.
The other wallet values were include in my environment |
Shouldn’t the |
@reflectivedevelopment -- I added the following to the CHANGELOG.md -- does this seem right:
|
@swcurran this seems okay. |
Awesome — thanks. |
Multiuse invitation performance degrades over time. By adding state into the tag names, performance doesn't degrade over time while using multi-use invitations.
This breaks backwards compatibility, but while load testing it can be seen that performance no longer degrades when using a multi-use invitation. Previously, only 1600 connections could be established while load testing, and on a second run is reduced to 300. After the modification, the load testing exceeded 2400 connections and the testing client machine ran out of ram for clients.
This shows a clear improvement in performance.