-
Notifications
You must be signed in to change notification settings - Fork 6
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
perf: improve ProteusClientCoreCrypto performance [WPB-10000] #2974
perf: improve ProteusClientCoreCrypto performance [WPB-10000] #2974
Conversation
9f26e52
to
5f1b388
Compare
Datadog ReportBranch report: ✅ 0 Failed, 3088 Passed, 105 Skipped, 12.86s Total Time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this change is a nice candidate for a ADR, just saying it does not need to be the whole notebook, but maybe small description with a link to the notebook
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work and nice introduction of these notebooks
Just left one suggestion/question about naming and breaking patterns.
Also agree with Mo, this is a good candidate for an ADR, maybe for a next PR 🤔
About ADRs... do we have ADRs on Kalium as well? Because this was the main reason that made me not do it. I am starting to think we should merge the repos more and more. I just did |
|
* perf: improve ProteusClientCoreCrypto performance * docs: fix typos * chore: move notebooks to docs/notebooks
…#2985) * perf: improve ProteusClientCoreCrypto performance * docs: fix typos * chore: move notebooks to docs/notebooks Co-authored-by: Vitor Hugo Schwaab <[email protected]> Co-authored-by: Mohamad Jaara <[email protected]>
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
We're a bit slow to process events.
Causes
In part, it's nature of E2EE. In part, we are not really being optimal.
In the generic sense, we can improve Proteus/CoreCrypto performance by not saving session (which is unnecessary, as CoreCrypto already does it during decryption), and also avoid checking if the session exists over and over again if we already know it exists.
Solutions
ProteusClientCoreCrypto
.Document my findings in this notebook.
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.