-
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
post_live_metrics: Add _post_in_chunks
.
#80
Conversation
Any concerns about this spamming studio too much? Thinking of https://iterativeai.slack.com/archives/C01116VLT7D/p1692452930044229. |
As I understood it, the problem in the link was not about too many requests from the client to the server. We still need to fix that but the change here mainly affects images, which are handled differently from linear plots (the source of the linked problem). The only change is when there the size of the images exceeds the server limit per single request: Without this P.R, we just fail to send data on each step and try to send it in the next one. Failing forever and the request keeps getting bigger. |
Codecov ReportPatch coverage is
📢 Thoughts on this report? Let us know!. |
@amritghimire / @shcheklein any concerns with merging this or do you think it needs to wait on a solution for https://github.com/iterative/studio/pull/7310 ? As I commented, this should mainly affect images not linear plots |
I think it doesn't have to wait. The only thing that comes to my mind to check (besides the basic review, @amritghimire can you do that please?)- align the limits with Studio We skip 10Mb files on Studio (so they will disappear as we then parse an experiment). Also, I now put a limit of 200 files per directory (not ideal, see the discussion and chime in the PR)- but as a safe guard. Here (or on the Studio side? or both?) we probably also want to limit the number of chunks, or number of files, etc. |
Added both checks |
Optimistically? expect metrics and parameters to not exceed 30MB.