-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Setting a lot of data in Onyx is slow #21766
Comments
Triggered auto assignment to @michaelhaxhiu ( |
Bug0 Triage Checklist (Main S/O)
|
Updated the data above, just realized that we have 2x the number of personal details that we need to due to the migration to accountIDs, so if we remove that, this will get a bit better, but not nearly enough since most of the time is on the reports. |
@michaelhaxhiu Eep! 4 days overdue now. Issues have feelings too... |
@iwiznia what should i do with this one? Does it go to |
For the pagination stuff, yes. |
Sorry I just mean what did you hope to see for this particular GH that you made? Do you want it to go to |
Let's use this issue for ht pagination |
Job added to Upwork: https://www.upwork.com/jobs/~01a864f2f0848526ae |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @eVoloshchak ( |
@eVoloshchak, @michaelhaxhiu Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@eVoloshchak, @michaelhaxhiu 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Slack convo going on here https://expensify.slack.com/archives/C01GTK53T8Q/p1689036681307159 that was started yesterday |
@AndrewGable Need to move my focus elsewhere and the Guides seem unblocked for now, but here's a summary of my attempts today...
Ideas for what to do next...
|
@AndrewGable, @michaelhaxhiu Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@AndrewGable, @michaelhaxhiu 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@AndrewGable, @michaelhaxhiu 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
@AndrewGable, @michaelhaxhiu 12 days overdue. Walking. Toward. The. Light... |
This issue has not been updated in over 14 days. @AndrewGable, @michaelhaxhiu eroding to Weekly issue. |
Note: I'm preparing to go OOO for 2 weeks and removing my assignment. This is an cc @AndrewGable |
This issue has not been updated in over 15 days. @AndrewGable eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Triggered auto assignment to @kevinksullivan ( |
Bug0 Triage Checklist (Main S/O)
|
added i don't totally understand what Onyx is or how it's affecting our users but I have a couple of SR escalated issues having to do with admins not being able to use newdot/chat at all. so wanted to get some action on this issue again just in case that's related. |
attempted to answer this here |
Whatever these issues are we should escalate and get more 👀 on them. My guess would be that it's not related to this issue. |
@marcaaron - here are the two issues I was referencing:
admittedly, im not sure of the status of the second issue. but, it looks like the first one i linked is still outstanding. |
@AndrewGable, @kevinksullivan Huh... This is 4 days overdue. Who can take care of this? |
@muttmuure and I discussed this issue in Slack, since it's somewhat a catchall issue with no clear solution, we think we should tackle this issue with our new format of finding specific issues via audits with our external contributors. Please reopen if you disagree. |
Coming from #21444
Threads with context:
https://expensify.slack.com/archives/C03TQ48KC/p1687893191020179
https://expensify.slack.com/archives/C036S0BVAHH/p1687812903398059
Problem
Setting a lot of data in Onyx is super slow.
This started/finished is calls to onyx. You can see it takes 20 seconds to set the key 19 and 1 minute 8 seconds the second one.
I have a file with the data that's failing, but I think it might contain sensitive information but I can say it's 30MB uncompressed. The 20th call above is the biggest as one might expect.
In order to test this in dev (for internal engineers only) is to change the OpenApp code to (data.json is the file with all the data):
I assume it can also be reproduced by joining 1000s of policies. This user's data:
Solution
Either make onyx be faster or recognize we need to do pagination of policies and reports
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: